On Fri, Jan 26, 2001 at 11:27:57AM -0800, Bruce Korb wrote:
> 
> Hi Gary, et al.,
> 
> Libtool is obviously not doing the right thing for linking shared
> libraries on solaris.  Any clues? :-)

Oh yuck!

I have Solaris 2.5 boxes at work, so I'll give it a spin on Monday and
see if I can figure out precisely what is going on.  In the mean while
you might try dropping libgen from the interlibrary dependencies of
libopts, and linking it explicitly into binaries that use it.   (You
will need to remove the -no-undefined declaration to support this).

In the long term, I would try and stay clear of libgen, it seems to
have a different purpose on the each of the few hosts that provide it.
IIRC I already supplied fallback implementations for the special
functions you use from there so that it works on Linux, so removing
the dependency is probably pretty easy.

Cheers,
        Gary.

> make[3]: Entering directory `/home/bkorb/tools/autogen-5.1.3/autoopts'
> /bin/sh ../libtool --mode=link gcc  -g -O2  -o libopts.la -rpath
> /home/bkorb/li
> b -no-undefined                 -version-info 9:1:0 autoopts.lo boolean.lo
> enum
> eration.lo makeshell.lo numeric.lo pgusage.lo putshell.lo save.lo stack.lo
> stre
> qvcmp.lo usage.lo version.lo ../snprintfv/snprintfv/libsnprintfvc.la -lgen 
> rm -fr .libs/libopts.la .libs/libopts.* .libs/libopts.*
> 
> *** Warning: This library needs some functionality provided by -lgen.
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> *** The inter-library dependencies that have been dropped here will be
> *** automatically added whenever a program is linked with this library
> *** or is declared to -dlopen it.
> /usr/ccs/bin/ld -G -z text -h libopts.so.9 -o .libs/libopts.so.9.0.1
> autoopts.
> lo boolean.lo enumeration.lo makeshell.lo numeric.lo pgusage.lo putshell.lo
> sav
> e.lo stack.lo streqvcmp.lo usage.lo version.lo -z allextract
> ../snprintfv/snpri
> ntfv/.libs/libsnprintfvc.a -z defaultextract  -lc 
> Text relocation remains                         referenced
>     against symbol                  offset      in file
> exit                                0x3fc
> ../snprintfv/snprintfv/.libs/li
> bsnprintfvc.a(format.o)
> exit                                0x13c
> ../snprintfv/snprintfv/.libs/li
> bsnprintfvc.a(filament.o)
> memcpy                              0x14c
> ../snprintfv/snprintfv/.libs/li
> bsnprintfvc.a(filament.o)
> memcpy                              0x330
> ../snprintfv/snprintfv/.libs/li
> bsnprintfvc.a(filament.o)

-- 
  ___              _   ___   __              _         mailto: [EMAIL PROTECTED]
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       [EMAIL PROTECTED] 
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc

_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to