home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.solaris:420 comp.windows.x:20368 comp.unix.programmer:5731
- Newsgroups: comp.unix.solaris,comp.windows.x,comp.unix.programmer
- Path: sparky!uunet!mcsun!ub4b!sunbim!usenet
- From: db@sunbim.be (Danny Backx)
- Subject: Solaris 2: how do I get rid of -lucb ?
- Message-ID: <1992Dec18.094738.15038@sunbim.be>
- Keywords: SVR4, shared libraries, Solaris 2
- Sender: usenet@sunbim.be (user news)
- Reply-To: db@sunbim.be
- Organization: BIM n.v. Everberg Belgium
- Date: Fri, 18 Dec 92 09:47:38 GMT
- Lines: 50
-
- Hi,
-
- I am using Solaris 2.* on my SPARC, and many of the home-brew applications
- I have compiled on it (with Motif, Xt, and Xlib libraries) have the habit
- of trying to load libucb at run time.
-
- What happens in fact is I compile the applications with commands like this :
- cc -o prog *.o -lXm -lXt -lX11
- without any references to /usr/ucbinclude or /usr/ucblib around. That is, I
- do NOT have an LD_LIBRARY_PATH or an LD_RUN_PATH set, and none of the sources
- require /usr/ucbinclude.
-
- When after linking I use "ldd" on the executable, it will tell me that the
- UCB library is linked in. E.g.
- whitney!db 90 % ldd phone
- libXm.so => /usr/lib/libXm.so
- libXt.so.5.0 => /usr/lib/libXt.so.5.0
- libXmu.so.5.0 => /usr/lib/libXmu.so.5.0
- libX11.so.5.0 => /usr/lib/libX11.so.5.0
- libc.so.1 => /usr/lib/libc.so.1
- libresolv.so.1 => /usr/lib/libresolv.so.1
- libsocket.so.1 => /usr/lib/libsocket.so.1
- libnsl.so.1 => /usr/lib/libnsl.so.1
- libelf.so.1 => /usr/lib/libelf.so.1
- --> libucb.so.1 => /usr/ucblib/libucb.so.1
- libdl.so.1 => /usr/lib/libdl.so.1
- libintl.so.1 => /usr/lib/libintl.so.1
- libw.so.1 => /usr/lib/libw.so.1
-
- How can I find out exactly what is causing this ? I would like to know how
- to generate applications that can run without the binary compatibility
- package.
-
- Thanks,
- Danny
- --
- Danny Backx
- System Engineer
-
- E-Mail: db@sunbim.be (or uunet!mcsun!ub4b!sunbim!db)
-
- Telephone: +32(2)759.59.25 Fax : +32(2)759.47.95
-
- Postal Mail :
- Danny Backx
- BIM
- Kwikstraat 4
- 3078 Everberg
- Belgium
-
-