Subject: [libssh2] PPC OSX Build Issue

[libssh2] PPC OSX Build Issue

From: Chris Nystrom <cnystrom_at_newio.org>
Date: Thu, 14 Jun 2007 05:09:24 -0500

Do others build this successfully on PPC OSX?

I seem to be getting a link error when using either the older version
or the latest source. It seems to be finding my SSL library, but not
finding a routine in the library.

Any assistance would be appreciated.

Thanks,
Chris

--
Here is my attempt and also nm output of my SSL crypto lib:
adsl-66-136-217-9:~/libssh2-0.15-20070614 cnystrom$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... powerpc-apple-darwin7.9.0
checking host system type... powerpc-apple-darwin7.9.0
configure: autobuild project... libssh2
configure: autobuild revision... 0.15-20070614
configure: autobuild hostname... adsl-66-136-217-9.dsl.austtx.swbell.net
configure: autobuild timestamp... 20070614-044502
checking host system type... (cached) powerpc-apple-darwin7.9.0
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing socket... none required
checking for library containing inet_addr... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin7.9.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin7.9.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking whether byte ordering is bigendian... yes
checking for pkg-config... no
checking for OpenSSL... -I/usr/local/ssl/include -L/usr/local/ssl/lib -lcrypto
checking for libz... Found in /usr/local/include /usr/local/lib
checking whether to enable pedantic and debug compiler options... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for poll... yes
checking for gettimeofday... yes
checking for select... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking non-blocking sockets style... O_NONBLOCK
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating example/Makefile
config.status: creating example/simple/Makefile
config.status: creating docs/Makefile
config.status: creating src/libssh2_config.h
config.status: executing depfiles commands
adsl-66-136-217-9:~/libssh2-0.15-20070614 cnystrom$ make
Making all in src
make  all-am
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src    -DLIBSSH2_DARWIN -I/usr/local/ssl/include
-I/usr/local/include -MT channel.lo -MD -MP -MF ".deps/channel.Tpo" -c
-o channel.lo channel.c; \
then mv -f ".deps/channel.Tpo" ".deps/channel.Plo"; else rm -f
".deps/channel.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT channel.lo -MD -MP
-MF .deps/channel.Tpo -c channel.c  -fno-common -DPIC -o
.libs/channel.o
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT channel.lo -MD -MP
-MF .deps/channel.Tpo -c channel.c -o channel.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src    -DLIBSSH2_DARWIN -I/usr/local/ssl/include
-I/usr/local/include -MT comp.lo -MD -MP -MF ".deps/comp.Tpo" -c -o
comp.lo comp.c; \
then mv -f ".deps/comp.Tpo" ".deps/comp.Plo"; else rm -f
".deps/comp.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT comp.lo -MD -MP -MF
.deps/comp.Tpo -c comp.c  -fno-common -DPIC -o .libs/comp.o
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT comp.lo -MD -MP -MF
.deps/comp.Tpo -c comp.c -o comp.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src    -DLIBSSH2_DARWIN -I/usr/local/ssl/include
-I/usr/local/include -MT crypt.lo -MD -MP -MF ".deps/crypt.Tpo" -c -o
crypt.lo crypt.c; \
then mv -f ".deps/crypt.Tpo" ".deps/crypt.Plo"; else rm -f
".deps/crypt.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT crypt.lo -MD -MP -MF
.deps/crypt.Tpo -c crypt.c  -fno-common -DPIC -o .libs/crypt.o
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT crypt.lo -MD -MP -MF
.deps/crypt.Tpo -c crypt.c -o crypt.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src    -DLIBSSH2_DARWIN -I/usr/local/ssl/include
-I/usr/local/include -MT hostkey.lo -MD -MP -MF ".deps/hostkey.Tpo" -c
-o hostkey.lo hostkey.c; \
then mv -f ".deps/hostkey.Tpo" ".deps/hostkey.Plo"; else rm -f
".deps/hostkey.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT hostkey.lo -MD -MP
-MF .deps/hostkey.Tpo -c hostkey.c  -fno-common -DPIC -o
.libs/hostkey.o
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT hostkey.lo -MD -MP
-MF .deps/hostkey.Tpo -c hostkey.c -o hostkey.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src    -DLIBSSH2_DARWIN -I/usr/local/ssl/include
-I/usr/local/include -MT kex.lo -MD -MP -MF ".deps/kex.Tpo" -c -o
kex.lo kex.c; \
then mv -f ".deps/kex.Tpo" ".deps/kex.Plo"; else rm -f
".deps/kex.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT kex.lo -MD -MP -MF
.deps/kex.Tpo -c kex.c  -fno-common -DPIC -o .libs/kex.o
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT kex.lo -MD -MP -MF
.deps/kex.Tpo -c kex.c -o kex.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src    -DLIBSSH2_DARWIN -I/usr/local/ssl/include
-I/usr/local/include -MT mac.lo -MD -MP -MF ".deps/mac.Tpo" -c -o
mac.lo mac.c; \
then mv -f ".deps/mac.Tpo" ".deps/mac.Plo"; else rm -f
".deps/mac.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT mac.lo -MD -MP -MF
.deps/mac.Tpo -c mac.c  -fno-common -DPIC -o .libs/mac.o
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT mac.lo -MD -MP -MF
.deps/mac.Tpo -c mac.c -o mac.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src    -DLIBSSH2_DARWIN -I/usr/local/ssl/include
-I/usr/local/include -MT misc.lo -MD -MP -MF ".deps/misc.Tpo" -c -o
misc.lo misc.c; \
then mv -f ".deps/misc.Tpo" ".deps/misc.Plo"; else rm -f
".deps/misc.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT misc.lo -MD -MP -MF
.deps/misc.Tpo -c misc.c  -fno-common -DPIC -o .libs/misc.o
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT misc.lo -MD -MP -MF
.deps/misc.Tpo -c misc.c -o misc.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src    -DLIBSSH2_DARWIN -I/usr/local/ssl/include
-I/usr/local/include -MT packet.lo -MD -MP -MF ".deps/packet.Tpo" -c
-o packet.lo packet.c; \
then mv -f ".deps/packet.Tpo" ".deps/packet.Plo"; else rm -f
".deps/packet.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT packet.lo -MD -MP
-MF .deps/packet.Tpo -c packet.c  -fno-common -DPIC -o .libs/packet.o
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT packet.lo -MD -MP
-MF .deps/packet.Tpo -c packet.c -o packet.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src    -DLIBSSH2_DARWIN -I/usr/local/ssl/include
-I/usr/local/include -MT publickey.lo -MD -MP -MF
".deps/publickey.Tpo" -c -o publickey.lo publickey.c; \
then mv -f ".deps/publickey.Tpo" ".deps/publickey.Plo"; else rm -f
".deps/publickey.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT publickey.lo -MD -MP
-MF .deps/publickey.Tpo -c publickey.c  -fno-common -DPIC -o
.libs/publickey.o
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT publickey.lo -MD -MP
-MF .deps/publickey.Tpo -c publickey.c -o publickey.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src    -DLIBSSH2_DARWIN -I/usr/local/ssl/include
-I/usr/local/include -MT scp.lo -MD -MP -MF ".deps/scp.Tpo" -c -o
scp.lo scp.c; \
then mv -f ".deps/scp.Tpo" ".deps/scp.Plo"; else rm -f
".deps/scp.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT scp.lo -MD -MP -MF
.deps/scp.Tpo -c scp.c  -fno-common -DPIC -o .libs/scp.o
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT scp.lo -MD -MP -MF
.deps/scp.Tpo -c scp.c -o scp.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src    -DLIBSSH2_DARWIN -I/usr/local/ssl/include
-I/usr/local/include -MT session.lo -MD -MP -MF ".deps/session.Tpo" -c
-o session.lo session.c; \
then mv -f ".deps/session.Tpo" ".deps/session.Plo"; else rm -f
".deps/session.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT session.lo -MD -MP
-MF .deps/session.Tpo -c session.c  -fno-common -DPIC -o
.libs/session.o
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT session.lo -MD -MP
-MF .deps/session.Tpo -c session.c -o session.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src    -DLIBSSH2_DARWIN -I/usr/local/ssl/include
-I/usr/local/include -MT sftp.lo -MD -MP -MF ".deps/sftp.Tpo" -c -o
sftp.lo sftp.c; \
then mv -f ".deps/sftp.Tpo" ".deps/sftp.Plo"; else rm -f
".deps/sftp.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT sftp.lo -MD -MP -MF
.deps/sftp.Tpo -c sftp.c  -fno-common -DPIC -o .libs/sftp.o
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT sftp.lo -MD -MP -MF
.deps/sftp.Tpo -c sftp.c -o sftp.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src    -DLIBSSH2_DARWIN -I/usr/local/ssl/include
-I/usr/local/include -MT userauth.lo -MD -MP -MF ".deps/userauth.Tpo"
-c -o userauth.lo userauth.c; \
then mv -f ".deps/userauth.Tpo" ".deps/userauth.Plo"; else rm -f
".deps/userauth.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT userauth.lo -MD -MP
-MF .deps/userauth.Tpo -c userauth.c  -fno-common -DPIC -o
.libs/userauth.o
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT userauth.lo -MD -MP
-MF .deps/userauth.Tpo -c userauth.c -o userauth.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src    -DLIBSSH2_DARWIN -I/usr/local/ssl/include
-I/usr/local/include -MT pem.lo -MD -MP -MF ".deps/pem.Tpo" -c -o
pem.lo pem.c; \
then mv -f ".deps/pem.Tpo" ".deps/pem.Plo"; else rm -f
".deps/pem.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT pem.lo -MD -MP -MF
.deps/pem.Tpo -c pem.c  -fno-common -DPIC -o .libs/pem.o
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT pem.lo -MD -MP -MF
.deps/pem.Tpo -c pem.c -o pem.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src    -DLIBSSH2_DARWIN -I/usr/local/ssl/include
-I/usr/local/include -MT transport.lo -MD -MP -MF
".deps/transport.Tpo" -c -o transport.lo transport.c; \
then mv -f ".deps/transport.Tpo" ".deps/transport.Plo"; else rm -f
".deps/transport.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT transport.lo -MD -MP
-MF .deps/transport.Tpo -c transport.c  -fno-common -DPIC -o
.libs/transport.o
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT transport.lo -MD -MP
-MF .deps/transport.Tpo -c transport.c -o transport.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I../include -I../src    -DLIBSSH2_DARWIN -I/usr/local/ssl/include
-I/usr/local/include -MT openssl.lo -MD -MP -MF ".deps/openssl.Tpo" -c
-o openssl.lo openssl.c; \
then mv -f ".deps/openssl.Tpo" ".deps/openssl.Plo"; else rm -f
".deps/openssl.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT openssl.lo -MD -MP
-MF .deps/openssl.Tpo -c openssl.c  -fno-common -DPIC -o
.libs/openssl.o
 gcc -DHAVE_CONFIG_H -I../include -I../src -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include -MT openssl.lo -MD -MP
-MF .deps/openssl.Tpo -c openssl.c -o openssl.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link gcc  -DLIBSSH2_DARWIN
-I/usr/local/ssl/include -I/usr/local/include  -L/usr/local/ssl/lib
-lcrypto -L/usr/local/lib -lz -o libssh2.la -rpath /usr/local/lib
-version-info 1:0:0 -no-undefined  channel.lo comp.lo crypt.lo
hostkey.lo kex.lo mac.lo misc.lo packet.lo publickey.lo scp.lo
session.lo sftp.lo userauth.lo pem.lo transport.lo  openssl.lo
gcc -dynamiclib  -o .libs/libssh2.1.0.0.dylib  .libs/channel.o
.libs/comp.o .libs/crypt.o .libs/hostkey.o .libs/kex.o .libs/mac.o
.libs/misc.o .libs/packet.o .libs/publickey.o .libs/scp.o
.libs/session.o .libs/sftp.o .libs/userauth.o .libs/pem.o
.libs/transport.o .libs/openssl.o  -L/usr/local/ssl/lib -lcrypto
-L/usr/local/lib -lz  -install_name  /usr/local/lib/libssh2.1.dylib
-Wl,-compatibility_version -Wl,2 -Wl,-current_version -Wl,2.0
ld: Undefined symbols:
_EVP_Cipher
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libssh2.la] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
--
adsl-66-136-217-9:/usr/local/ssl/lib cnystrom$ nm libcrypto.a | grep EVP_Cipher
nm: no name list
nm: no name list
nm: no name list
00000b7c T _EVP_CipherFinal
00000b68 T _EVP_CipherFinal_ex
00000af4 T _EVP_CipherInit
00000000 T _EVP_CipherInit_ex
00000b54 T _EVP_CipherUpdate
nm: no name list
nm: no name list
         U _EVP_CipherInit_ex
nm: no name list
         U _EVP_CipherFinal_ex
         U _EVP_CipherInit_ex
         U _EVP_CipherUpdate
000002d8 T _EVP_Cipher
         U _EVP_CipherInit_ex
         U _EVP_CipherInit_ex
         U _EVP_CipherInit_ex
nm: no name list
nm: no name list
         U _EVP_CipherInit_ex
         U _EVP_CipherInit_ex
         U _EVP_CipherFinal_ex
         U _EVP_CipherUpdate
nm: no name list
-- 
E-Mail: Chris Nystrom <cnystrom_at_newio.org>
Saving the world from web programming.
http://www.newio.org/ - AIM: nystromchris
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-06-14