shared libraries support broken on amd64 -CURRENT?

Burkard Meyendriesch bm at malepartus.de
Wed Mar 24 13:43:03 PST 2004


On Wed, 24 Mar 2004 22:19:30 +0100 Burkard Meyendriesch wrote:

> Hello folks,
> 
> I have two FreeBSD boxes, Reineke (amd64 5.2-CURRENT 22.03.2004) and
> Grimbart (i386 4.9-STABLE). I use exactly the same fresh /usr/ports
> tree and no /etc/make.conf options enabled on both machines.
> 
> When compiling textproc/expat2 for example (the same problem arises
> with other ports) the amd64 box does not make the shared library.
> (Subsequent make's or portinstall's complain missing libraries).
> 
> This happens:
>  
> Reineke# cd /usr/ports/textproc/expat2
> Reineke# make clean
> Reineke# make
> Reineke# ls -l work/expat-1.95.7/.libs
> total 290
> -rw-r--r--  1 root  wheel  266186 24 Mär 21:57 libexpat.a
> lrwxr-xr-x  1 root  wheel      14 24 Mär 21:57 libexpat.la ->
> ../libexpat.la-rw-r--r--  1 root  wheel     619 24 Mär 21:57
> libexpat.lai
> 
> Grimbart# cd /usr/ports/textproc/expat2
> Grimbart# make clean
> Grimbart# make
> Grimbart# ls -l work/expat-1.95.7/.libs
> total 289
> -rw-r--r--  1 root  wheel  146466 24 Mär 22:13 libexpat.a
> lrwxr-xr-x  1 root  wheel      14 24 Mär 22:13 libexpat.la ->
> ../libexpat.la-rw-r--r--  1 root  wheel     644 24 Mär 22:13
> libexpat.lai lrwxr-xr-x  1 root  wheel      13 24 Mär 22:13
> libexpat.so -> libexpat.so.5-rwxr-xr-x  1 root  wheel  127187 24 Mär
> 22:13 libexpat.so.5
> 
> I don't find the difference between the two makes. Can anybody please
> help me?
> 
> Burkard

Here is the ./configure output of the two machines during make:

Reineke# make
..
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
..

Grimbart# make
..
checking for /usr/libexec/elf/ld option to reload object files... -r
checking dynamic linker characteristics... freebsd4.9 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
..

Reineke does not find the dynamic linker characteristics; what does
this mean? What can I do? Any problem with rtld(1)?

Burkard

--
Burkard Meyendriesch
Stevern 2
D-48301 Nottuln


More information about the freebsd-amd64 mailing list