On Sun, 8 Feb 2009 11:50:55 -0500 jan acosta <[email protected]> wrote:
> da-vi...@da-vinci-desktop:~/pycuda-0.91.1/test$ ldd
> /usr/lib/python2.5/site-packages/pycuda-0.91.1-py2.5-linux-i686.egg/pycuda/_driver.so
> linux-gate.so.1 => (0xb7fd8000)
> libboost_python-gcc42-mt-1_34_1.so.1.34.1 =>
> /usr/lib/libboost_python-gcc42-mt-1_34_1.so.1.34.1 (0xb7ea2000)
> libcuda.so.1 => /usr/lib/libcuda.so.1 (0xb7a94000)
> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb79a0000)
> libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb797b000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7970000)
> libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7958000)
> libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7809000)
> libutil.so.1 => /lib/tls/i686/cmov/libutil.so.1 (0xb7805000)
> libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7800000)
> librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb77f7000)
> libz.so.1 => /usr/lib/libz.so.1 (0xb77e2000)
> /lib/ld-linux.so.2 (0xb7fd9000)
>
Exactly what i thought!
you see this line
"/usr/lib/libboost_python-gcc42-mt-1_34_1.so.1.34.1 (0xb7ea2000)"
it means the loader(the program in charge of loading all the
required library for running a program) don't know about the library
you install by yourself in /home/da-vinci/... , instead, it use a
supposedly compatible library in the system path
(/usr/lib, /usr/local/lib). Unfortunately, this one was compiled with
different options, that explain the missing symbols.
try setting LD_LIBRARY_PATH=/Home/da-vinci/pool/lib:${LD_LIBRARY_PATH}
before running the python interpreter. If your shell is bash the
complete command is :
export LD_LIBRARY_PATH=$HOME/pool/lib:${LD_LIBRARY_PATH}
> I'm still a noob in linux, and this is the first time I have
> programmed (ever) in a linux environment. My professor is requiring
> me to use it, so please bare with me.
A wise men, you should listen to him.
J-Pascal
signature.asc
Description: PGP signature
_______________________________________________ PyCuda mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
