amd64 -CURRENT: still problems with shared libraries

Burkard Meyendriesch bm at malepartus.de
Tue Mar 30 23:23:18 PST 2004


Hi Kris,

sorry to disturb you again with my shared libraries problem. I can not
find the cause of the strange behaviour of the ports system (maybe the
reason is that I don't fully understand the autoconf, configure, libtool
mechanism).

For example: If I try to compile and install libiconv:

# cd /usr/ports/converters/libiconv
# make clean
# make
# ls -l work/libiconv-1.9.1/lib/.libs
-rw-r--r--  1 root  wheel  1052434 31 Mr 08:45 libiconv.a
lrwxr-xr-x  1 root  wheel       14 31 Mr 08:45 libiconv.la -> ../libiconv.la
-rw-r--r--  1 root  wheel      619 31 Mr 08:45 libiconv.lai

I only get the static version of the library. It seems that libtool
decided not to build shared libraries:

# grep ^build_libtool_libs= work/libiconv-1.9.1/libtool
build_libtool_libs=no

Even if I force the generation of the shared libs:
# cd /usr/ports/converters/libiconv/work/libiconv-1.9.1
# make clean
# ./configure --enable-shared
# grep ^build_libtool_libs= libtool
build_libtool_libs=no

the system refuses to do so.
(Find the complete config.status and libtool appended.)

My environment:
# uname -a
FreeBSD Reineke.Malepartus.de 5.2-CURRENT FreeBSD 5.2-CURRENT #15: Mon Mar 22 19:28:17 CET 2004     bm at Reineke.Malepartus.de:/usr/obj/usr/src/sys/REINEKE  amd64

An actual /usr/ports tree (31.03.2004 04:00 UTC), *no* options enabled 
in /etc/make.conf.

Any help how to locate and fix the problem welcome :-)
Burkard

--
Burkard Meyendriesch
Stevern 2
D-48301 Nottuln
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.status
Type: application/octet-stream
Size: 50864 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040331/9d4f90c6/config-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libtool
Type: application/octet-stream
Size: 121914 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040331/9d4f90c6/libtool-0001.obj


More information about the freebsd-ports mailing list