Article Title : SunPC_Novell Creation Date : 07/01/93 Message ID : JGRNSQ Last Update : Expiration Rules : unknown Location : NCD-Articles/Host_Systems/Sun ================================================================= [Note to the audience: this is one of those things to file away in order to ensure that you never need it ...] Background: a customer is running NCD 19r's with Sun SPARCstation servers. They purchased SunPC in order to run DOS and Novell applications. SunPC worked fine on a SPARCstation IPX, but failed on the NCD's: -------- When we try running it on the X terminal, it works, but only so far. It puts up the graphics PC window, shows us a C prompt, lets us give DOS commands, etc. When we try to do this sequence: F: cd \novell netx We get the error message: Could not load Novell library (The next step is supposed to be ipx and then the network connect is in place. So we are two steps short of a connect.) [I believe he has the ordering of ipx vs. netx wrong.] -------- I visited the customer this morning, and after he demonstrated Novell app's working on the IPX but not on the NCD, I trace'd SunPC. After a little bit of poking around, the problem turned out to be a SunPC bug in locating the Novell [shared] library. According to the trace, it tried to open the "directory" specified by $LD_LIBRARY_PATH - which consisted of at least two directories ($OPENWINHOME/lib and the Novell library), separated by a colon (apparently news to some developer). Fortunately, SunPC also looks for the library in the /novell/lib directory, so after we copied the shared library into that directory, it worked fine on the NCD. (I don't know why it worked on the Ss IPX, when the user's LD_LIBRARY_PATH env. var. contained two directories ...) Another work- around that should work would be to put sym-links to the OpenWindow's libraries into /usr/lib, and then set LD_LIBRARY_PATH to only reference the Novell library directory. For the record, this was SunPC 3.1 running on SunOS 4.1.3.