apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62640] New: libtool invocations should use --tag
Date Mon, 20 Aug 2018 15:19:32 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62640

            Bug ID: 62640
           Summary: libtool invocations should use --tag
           Product: APR
           Version: 1.6.3
          Hardware: All
                OS: HP-UX
            Status: NEW
          Severity: major
          Priority: P2
         Component: APR
          Assignee: bugs@apr.apache.org
          Reporter: 1983-01-06@gmx.net
  Target Milestone: ---

This issue is pretty much like
https://bz.apache.org/bugzilla/show_bug.cgi?id=47691.

tcnative relies on libtool from libapr. Though, all libtool invocations miss
'--tag=CC'. If you use libtool on a different environment libtcnative is not
properly linked against libapr. If you use an external libtool it complains
that tag is missing.

> $ uname -a
> HP-UX blnn724x B.11.31 U ia64 HP-UX
> osipovmi@blnn724x:/tmp/tomcat-native-1.2.17-src/native []
> $ find . -name \*.so
> ./.libs/libtcnative-1.so
> osipovmi@blnn724x:/tmp/tomcat-native-1.2.17-src/native []
> $ ldd ./.libs/libtcnative-1.so
> 
> ./.libs/libtcnative-1.so:
>         libssl.so.1.0.0 =>      /usr/lib/hpux32/libssl.so.1.0.0
>         libcrypto.so.1.0.0 =>   /usr/lib/hpux32/libcrypto.so.1.0.0
>         Unable to find library 'libapr.so.6'.

Now lets reconfigure with ./configure LIBTOOL="libtool" instead the one from
apr:
> libtool --silent --mode=compile aCC -Ae -g -mt   -DHAVE_CONFIG_H  -DHPUX11 -D_REENTRANT
-D_HPUX_SOURCE -D_LARGEFILE64_SOURCE   -g -DHAVE_OPENSSL   -I./include -I/opt/java8/include
-I/opt/java8/include/hpux -I/opt/openssl/include  -I/opt/apr/include   -o src/lock.lo -c src/lock.c
&& touch src/lock.lo
> libtool: compile: unable to infer tagged configuration
> libtool: compile: unable to infer tagged configuration
> libtool: compile: unable to infer tagged configuration
> libtool: compile: unable to infer tagged configuration
> libtool: compile: unable to infer tagged configuration
> libtool: compile: unable to infer tagged configuration
> libtool: compile: unable to infer tagged configuration
> libtool: compile: unable to infer tagged configuration
> libtool:   error: specify a tag with '--tag'
> /tmp/tomcat-native-1.2.17-src/native/build/rules.mk:206: recipe for target 'src/lock.lo'
failed
> gmake[1]: *** [src/lock.lo] Error 1
> gmake[1]: *** Waiting for unfinished jobs....
> libtool:   error: specify a tag with '--tag'
> libtool:   error: specify a tag with '--tag'
> /tmp/tomcat-native-1.2.17-src/native/build/rules.mk:206: recipe for target 'src/address.lo'
failed
> gmake[1]: *** [src/address.lo] Error 1
> /tmp/tomcat-native-1.2.17-src/native/build/rules.mk:206: recipe for target 'src/dir.lo'
failed
> gmake[1]: *** [src/dir.lo] Error 1
> libtool:   error: specify a tag with '--tag'
> /tmp/tomcat-native-1.2.17-src/native/build/rules.mk:206: recipe for target 'src/file.lo'
failed
> gmake[1]: *** [src/file.lo] Error 1
> libtool:   error: specify a tag with '--tag'
> libtool:   error: specify a tag with '--tag'
> /tmp/tomcat-native-1.2.17-src/native/build/rules.mk:206: recipe for target 'src/info.lo'
failed
> gmake[1]: *** [src/info.lo] Error 1
> /tmp/tomcat-native-1.2.17-src/native/build/rules.mk:206: recipe for target 'src/error.lo'
failed
> gmake[1]: *** [src/error.lo] Error 1
> libtool:   error: specify a tag with '--tag'
> libtool:   error: specify a tag with '--tag'
> /tmp/tomcat-native-1.2.17-src/native/build/rules.mk:206: recipe for target 'src/bb.lo'
failed
> gmake[1]: *** [src/bb.lo] Error 1
> /tmp/tomcat-native-1.2.17-src/native/build/rules.mk:206: recipe for target 'src/jnilib.lo'
failed
> gmake[1]: *** [src/jnilib.lo] Error 1
> gmake[1]: Leaving directory '/tmp/tomcat-native-1.2.17-src/native'
> /tmp/tomcat-native-1.2.17-src/native/build/rules.mk:118: recipe for target 'all-recursive'
failed
> gmake: *** [all-recursive] Error 1

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message