You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/02/17 14:54:25 UTC
DO NOT REPLY [Bug 27006] New: -
libtool: install: error: cannot install `../../../build/jk2/apache2/jkjni.la' to a directory not ending in /usr/lib/apache2
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27006>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27006
libtool: install: error: cannot install `../../../build/jk2/apache2/jkjni.la' to a directory not ending in /usr/lib/apache2
Summary: libtool: install: error: cannot install
`../../../build/jk2/apache2/jkjni.la' to a directory not
ending in /usr/lib/apache2
Product: Tomcat 4
Version: 4.1.29
Platform: PC
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Connector:Coyote JK 2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: albanard@hotmail.com
----------------------
VERSIONS:
----------------------
OS: Gentoo 1.4 (plus updates)
libtool --version
ltmain.sh (GNU libtool) 1.4.3 (1.922.2.111 2002/10/23 02:54:36)
(also tried: 1.4.1)
http://apache.mirrors.pair.
com/jakarta/tomcat-connectors/jk2/jakarta-tomcat-connectors-jk2-src-current.tar.
gz
----------------------
PROBLEM:
----------------------
When trying to compile the mod_jk modules, this message appears:
libtool: install: error: cannot install `../../../build/jk2/apache2/jkjni.la' to
a directory not ending in /usr/lib/apache2
----------------------
REPRODUCIBLE: Always
----------------------
TO REPRODUCE:
# download and untar latest connectors file (link shown above in VERSIONS
section)
cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/
chmod 0777 buildconf.sh
./buildconf.sh
./configure --with-apxs2=/usr/sbin/apxs2
make clean build
libtool --finish /usr/lib/apache2
----------------------
EXPECTED OUTCOME:
----------------------
1. make finishes with no errors.
2. ../build/jk2/apache2/jkjni.so and ../build/jk2/apache2/mod_jk2.so are
generated
----------------------
ACTUAL OUTCOME:
----------------------
...
/usr/build/libtool --mode=install cp ../../../build/jk2/apache2/jkjni.la
`pwd`/../../../build/jk2/apache2
libtool: install: error: cannot install `../../../build/jk2/apache2/jkjni.la' to
a directory not ending in /usr/lib/apache2
make[1]: *** [../../../build/jk2/apache2/jkjni.so] Error 1
make[1]: Leaving directory `/test/jakarta-tomcat-connectors-jk2-2.0.
2-src/jk/native2/server/apache2'
make: *** [jk2-build] Error 1
PATH="$PATH:/sbin" ldconfig -n /usr/lib/apache2
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/apache2
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 `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Only ../build/jk2/apache2/mod_jk2.so is generated, not ..
/build/jk2/apache2/jkjni.so
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org