[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libtool relate

From: Ralf Wildenhues
Subject: Re: Libtool relate
Date: Wed, 29 Dec 2004 10:06:47 +0100
User-agent: Mutt/1.4.1i

* YeunDong Jeong wrote on Tue, Dec 28, 2004 at 01:49:50PM CET:
>  address@hidden <address@hidden>
>  Sr. Gordon Matzigkeit

Hmm.  As far as I know, he has not worked with Libtool for quite some
time.  Begs the question:  Which libtool version are you using?

$ /bin/sh /ias/PHP_TEMP/php-4.3.8/ext/java/libtool --version

If that's significantly lower than 1.5.10, please try to upgrade and

More comments below.

>  I am using PHP extension java on HP-UX 11.11 and gcc version 3.3.3.
>  On makingthis is what I am getting :-
>  I don't get any idea. Can you help me any suggestions. Thank you for.
> [icsys1:/ias/PHP_TEMP/php-4.3.8/ext/java]#make
>        /bin/sh /ias/PHP_TEMP/php-4.3.8/ext/java/libtool --mode=link gcc 
> p-4.3.8/ext/java/include -I/ias/PHP_TEMP/php-4.3.8/ext/java/main 
> -I/ias/PHP_TEMP/php-4.3.8/ext/java -I/opt
> /hpws/apache/php/include/php -I/opt/hpws/apache/php/include/php/main 
> -I/opt/hpws/apache/php/include/php/Zend 
> -I/opt/hpws/apache/php/include/php/TSRM  -DHAVE_CONFIG_H  -g -O2  
> -L/opt/java1.4/jre/lib/PA_RISC/hotspot -L/opt/java1.4/jre/lib/PA_RISC/hotspot 
> -L/opt/java1.4/jre/lib/PA_RISC/server -L/opt/java1.4/jre/lib/PA_RISC/server 
> -L/opt/java1.4/jre/lib/PA_RISC/native_threads 
> -L/opt/java1.4/jre/lib/PA_RISC/native_threads 
> -L/opt/java1.4/jre/lib/PA_RISC2.0/hotspot 
> -L/opt/java1.4/jre/lib/PA_RISC2.0/hotspot 
> -L/opt/java1.4/jre/lib/PA_RISC2.0/server 
> -L/opt/java1.4/jre/lib/PA_RISC2.0/server 
> -L/opt/java1.4/jre/lib/PA_RISC2.0/native_threads
> -L/opt/java1.4/jre/lib/PA_RISC2.0/native_threads 
> -L/opt/java1.4/jre/lib/PA_RISC2.0W/hotspot -L/opt/java1.4
> /jre/lib/PA_RISC2.0W/hotspot -L/opt/java1.4/jre/lib/PA_RISC2.0W/server 
> -L/opt/java1.4/jre/lib/PA_RISC2.0W/server 
> -L/opt/java1.4/jre/lib/PA_RISC2.0W/native_threads 
> -L/opt/java1.4/jre/lib/PA_RISC2.0W/native_threads
> -L/opt/java1.4/jre/lib/PA_RISC2.0W -L/opt/java1.4/jre/lib/PA_RISC2.0W -o 
> ./java.la -export-dynamic -avoid
> -version -prefer-pic -module -rpath 
> /ias/PHP_TEMP/php-4.3.8/ext/java/modules java.lo
> /ias/PHP_TEMP/php-4.3.8/ext/java/libtool[3854]: 
> (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library:  not
> found.

This looks weird.  Most likely a libtool bug.

> *** Warning: linker path does not have real file for library -lc.
> *** 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
> *** because I did check the linker path looking for a file starting
> *** with libc and none of the candidates passed a file format test
> *** using a file magic. Last file checked: /usr/lib/libc.2
> *** Warning: libtool could not satisfy all declared inter-library
> *** dependencies of module java.  Therefore, libtool will create
> *** a static module, that should work as long as the dlopening
> *** application is linked with the -dlopen flag.

Both of these warnings are most likely results of the first problem.

> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
>   - add LIBDIR to the `SHLIB_PATH' environment variable
>     during execution
>   - use the `-Wl,+b -Wl,LIBDIR' linker flag
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.

This is not a failure, just informational.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]