zlib
zlib copied to clipboard
Linker error examplesh ld: attempted static link of dynamic object libz.so.1.2.12 on AmigaOS 4.1 FE + gcc 4.2.4
I executed configure and gmake without parameters, the static library and dynamic library were build successfully but when building the examplesh it stopped with an error. The command that was executed was:
gcc -O3 -DHAVE_HIDDEN -o examplesh example.o -L. libz.so.1.2.12
I tried
gcc -O3 -DHAVE_HIDDEN -o examplesh example.o -Wl,Bdynamic -L. libz.so.1.2.12
that worked fine, also execution of examplesh worked now correctly. configure.log shows uname = AmigaOS