vSphere

 View Only
  • 1.  Symbol Lookup Error

    Posted Dec 07, 2009 07:45 PM

    I am just learning to use ESXi, vSphere-CLI, and vSphere SDK for Perl. I've installed ESXi on an HP Proliant server, and the CLI and SDK on a system running Ubuntu 9.10. when I run the following utility application on the client:

    connect.pl --url myserver --username myname --password mypassword

    I get the following error:

    /usr/bin/perl: symbol lookup error: /usr/lib/perl/5.10/auto/XML/LibXML/Common/Common.so: undefined symbol: Perl_Tstack_sp_ptr

    Can anyone help me correct this error?



  • 2.  RE: Symbol Lookup Error

    Broadcom Employee
    Posted Dec 07, 2009 08:08 PM

    Try to update the libxml package:

    > sudo apt-get install libxml-libxml-perl



  • 3.  RE: Symbol Lookup Error

    Posted Dec 07, 2009 09:50 PM

    I just did as you suggested, but I still get the same error. :smileysad:



  • 4.  RE: Symbol Lookup Error

    Broadcom Employee
    Posted Dec 07, 2009 09:54 PM

    Can you also try to install these:

    - sudo apt-get install libcrypt-ssleay-perl

    - sudo apt-get install libclass-methodmaker-perl



  • 5.  RE: Symbol Lookup Error

    Posted Dec 07, 2009 10:13 PM

    vincentho, I loaded the two packages and the same error pops up.



  • 6.  RE: Symbol Lookup Error

    Broadcom Employee
    Posted Dec 07, 2009 10:19 PM

    That's odd. It seems to be working fine for me.



  • 7.  RE: Symbol Lookup Error

    Posted Dec 07, 2009 10:33 PM

    Maybe I'm not using the command correctly. The ESXi machine has a fixed ip address (url https://192.168.0.101). I have not added any users to the server so I used 'root' as the username (username root). So the actual command is:

    sudo ./connect.pl --url https://192.168.0.101 --username root --password password