Loading ...
Sorry, an error occurred while loading the content.

problem with shared libraries

Expand Messages
  • com bio
    Hello, i have problems with shared libraries.to be specific.. when i run a perl program as below $perl sample.pl it give the following error. perl: error while
    Message 1 of 1 , Dec 24, 2004
    • 0 Attachment
      Hello,
      i have problems with shared libraries.to be
      specific..

      when i run a perl program as below

      $perl sample.pl

      it give the following error.

      perl: error while loading shared libraries:
      /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/GD/GD.so:
      undefined symbol: gdFontGetLarge


      i found that gdFontLarge symbol is defined in gdlib.so
      and not GD.so .



      $ nm bkGD.so | grep gdFontGetLarge
      U gdFontGetLarge



      $ nm libgd.so | grep gdFontGetLarge
      00014708 T gdFontGetLarge

      i had linked both the shared object files to /usr/lib
      .
      but that does not help..

      i addition is there a tool similar to ldd to verify
      the linking of shared object files for perl programs.

      i use redhat 9.

      thanks
      deepan chakrvarthy

      =====
      link to deepan chakravarthy's home page: http://www.geocities.com/combiofriends/deepan.html

      -------------------------------------------
      Center for Biotechnology,
      Anna University,
      Chennai,
      India.
      pin: 600025



      __________________________________
      Do you Yahoo!?
      Read only the mail you want - Yahoo! Mail SpamGuard.
      http://promotions.yahoo.com/new_mail
    Your message has been successfully submitted and would be delivered to recipients shortly.