On Sunday 18 September 2005 07:18, Sergey Plis wrote: > Thank you! Unfortunately your example does not work on my debian > testing. It fails with error: > > bigforth: symbol lookup error: /usr/lib/libgsl.so.0: undefined > symbol: cblas_dgemm > > However, if I add this definition: > > > libgslcblas cblas_dgemm int int df int int int > int df int int int int int int (void/fp) cblas_dgemm > > everything works. May be there is something about the way "depends" > depends on some assumptions inherent to a system?
I'd rather guess it's the lazy symbol resolution. With your added definition, you force the dynamic linker to resolve the cblas_dgemm symbol. Otherwise, you just load the library. Actually, I think all this depends stuff are bug workarounds, since properly compiled dynamic libraries have their dependencies build-in. -- Bernd Paysan "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/
pgpY4ztKR9dxH.pgp
Description: PGP signature
