Here it doesn't even work with the full path. Just try yourself: compile a lib withbembulak wrote:Sounds silly, but try to set FULL (absolute) path to the lib, like: "/usr/lib/libastro.so".
I had same problem with a lib a few days ago. And not every.
I know, it's dirty but it might work. I've already got some problems with the LD_PATH variable unter PB-Linux, but don't know why.
@Cpl.Bator:pbcompiler yourfile.pb -so test.dll
I will try it out, but I'm wondering why it works with other libs and not with the lib coded in PureBasic.