lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,


On Fri, Apr 16, 2010 at 8:10 PM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc -shared -O2 -Wall -fPIC -W
Remove -shared.

That didn't help, unfortunately:

make
gcc -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -I/usr/include/openssl -I/Users/veleno/workspace/lua-5.1.4/  -llua5.1   -c -o src/lcrypto.o src/lcrypto.c
src/lcrypto.c: In function ‘rand_cleanup’:
src/lcrypto.c:659: warning: unused parameter ‘L’
i686-apple-darwin10-gcc-4.2.1: -llua5.1: linker input file unused because linking not done
export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -I/usr/include/openssl -I/Users/veleno/workspace/lua-5.1.4/  -llua5.1 -bundle -undefined dynamic_lookup  -o src/crypto.so src/lcrypto.o  -lcrypto -lssl
ld: library not found for -llua5.1
collect2: ld returned 1 exit status
make: *** [src/crypto.so] Error 1