https://bz.apache.org/bugzilla/show_bug.cgi?id=59996

            Bug ID: 59996
           Summary: tcnative.m4 always refers to lib directory
           Product: Tomcat Native
           Version: 1.2.9
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Library
          Assignee: dev@tomcat.apache.org
          Reporter: csuth...@redhat.com

When building tomcat-native on a 64-bit system and using a 64-bit openssl
distribution that isn't the in the /usr directory tcnative always generates a
configure script that references /lib instead of /lib64.

To reproduce:

1) Build openssl locally (for example, /tmp/openssl) or you can just point to a
random directory like /tmp/test that has a lib64 subdirectory (you don't need
to build to reproduce)
2) Run buildconf to generate `configure`
3) Execute configure and observe output:

$ ./configure --with-apr=/usr/bin/apr-1-config --with-java-home=$JAVA_HOME
--with-ssl=/tmp/openssl --prefix=/dist | grep "using openssl from"
checking for OpenSSL library... using openssl from /tmp/openssl/lib and
/tmp/openssl/include

This causes an invalid path to be configured into rpath for 64-bit machines and
prevents 64-bit distributions of tcnative that install in openssl non-standard
locations from working as expected (which is referencing the correct openssl
distribution).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to