[Box Backup] Problems with compile on RH9
Martin Ebourne
boxbackup@fluffy.co.uk
Thu, 27 Jul 2006 00:30:23 +0100
On Tue, 2006-07-25 at 19:23 -0700, Dave Thomas wrote:
> The issue I am having is when trying to 'make'..I get:
>
> : undefined reference to `X509_STORE_CTX_cleanup'
> collect2: ld returned 1 exit status
> make[1]: *** [../../release/bin/bbackupd/bbackupd] Error 1
> make[1]: Leaving directory `/root/boxbackup-0.10/bin/bbackupd'
> make: *** [parcels/boxbackup-0.10-backup-client-linux-gnu.tgz] Error 2
>
> I am using a manual install of OpenSSL (0.9.7a) with the following config:
>
> ./configure --enable-gnu-readline --with-ssl-headers=/usr/local/ssl/include --with-ssl-lib=/usr/local/ssl/lib
>
> Anyone have any info on this problem?
Probably mismatch between header files and found library when linking.
Check the compile and link lines, make sure the -I and -L options for
ssl match up.
Also try taking the gcc link line where it failed and adding -Xlinker
--verbose. Should tell you what files it finds where.
Cheers,
Martin.