in reply to How to link to OpenCV goodies for PERL5

Run ldd -v ...14.2/auto/Image/ObjectDetect/ObjectDetect.so to diagnose the issue,

Then adjust your LD_LIBRARY_PATH accordingly or recompile ObjectDetect and/or its dependencies

  • Comment on Re: How to link to OpenCV goodies for PERL5

Replies are listed 'Best First'.
Re^2: How to link to OpenCV goodies for PERL5
by Anonymous Monk on Jun 09, 2013 at 05:33 UTC

    Thank you so much Anonymous Monk! But I'm still a touch green. I tried adjusting this like so to no avail:

    freddythunder@tacofever:/usr/lib/cgi-bin$ export LD_LIBRARY_PATH=/lib/ +x8664-linux-gnu

    Here is my output of ldd:

    freddythunder@tacofever:/usr/lib/cgi-bin$ ldd -v /usr/local/lib/perl/5 +.14.2/auto/Image/ObjectDetect/ObjectDetect.so linux-vdso.so.1 => (0x00007fff5ddff000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f055912e000) /lib64/ld-linux-x86-64.so.2 (0x00007f05596d1000) Version information: /usr/local/lib/perl/5.14.2/auto/Image/ObjectDetect/ObjectDetect.so +: libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu/libc.so.6: ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so. +2 ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64 +.so.2

    I also wonder if I need to restart any service when I make these changes like PHP. I know if you adjust those you have to restart apache to see the changes take effect. I have been testing from command line BTW.

    I need some more detail on how to recompile ObjectDetect if I need to do that instead. Compiling everything I need is still pretty new to me. Thanks!

        Nope, same error message from the command line. It makes more sense to me to get it working there first and then work my way through apache.