[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libtool proble: missing lib*.so.* on install
From: |
Richi Plana |
Subject: |
libtool proble: missing lib*.so.* on install |
Date: |
Sat, 10 May 2003 14:32:15 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030508 |
Hi,
I'm using libtool 1.4.3 on a RedHat 9 system and while trying to compile
several libraries (notable libquicktime and pcre 4.2), I encounter the
ff. problem: While compiling 2 libraries (with one dependent on the
other), I reach this stage:
/bin/sh ./libtool --mode=install /usr/bin/install -c libpcreposix.la
/var/tmp/pcre-root/usr/lib/libpcreposix.la
libtool: install: warning: relinking `libpcreposix.la'
(cd /usr/src/redhat/BUILD/pcre-4.2; /bin/sh ./libtool --mode=relink gcc
-O2 -g -pipe -march=athlon -I. -I. -rpath /usr/lib -L. -lpcre
-version-info 0:0:0 -o libpcreposix.la pcreposix.lo)
gcc -shared pcreposix.lo -L/usr/src/redhat/BUILD/pcre-4.2 -L/usr/lib
-lpcre -Wl,-soname -Wl,libpcreposix.so.0 -o .libs/libpcreposix.so.0.0.0
/usr/bin/ld: cannot find -lpcre
When I manually compile with the command:
gcc -shared pcreposix.lo -L/usr/src/redhat/BUILD/pcre-4.2/.libs
-L/usr/lib -lpcre -Wl,-soname -Wl,libpcreposix.so.0 -o
.libs/libpcreposix.so.0.0.0
however, the compile succeeds.
My question is "Is libtool, in this case, producing the right command
and commandline parameter to compile libpcreposix.so.0.0.0 (specifically
with the "-L/usr/src/redhat/BUILD/pcre-4.2" parameter)?" Or should it be
producing "-L/usr/src/redhat/BUILD/pcre-4.2/.libs"? What's the problem
with this scenario so I can attempt to correct it and additionally
inform the package maintainers if the problem exist in their packages?
--
*Richard Plana, B.Sc., CCNA*
Linux Junkie
- libtool proble: missing lib*.so.* on install,
Richi Plana <=