Perl Xs Symbol Lookup Error
Contents |
Q&A Tutorials Poetry RecentThreads NewestNodes Donate What'sNew on Aug 19, 2011 at 16:58UTC ( #921286=perlquestion: print w/replies, xml ) Need Help?? sherab has asked for the wisdom of the Perl Monks concerning the following question: Hello monks! I am in a very specialized undefined symbol: perl_xs_apiversion_bootcheck industry that depends on perl and I bought what I though was going
Undefined Symbol: Perl_xs_handshake
to be a perl module but it turns out to be a .so file. I have no doubt that it perl symbol lookup error undefined symbol perl_tstack_sp_ptr probably works but this is new territory for me regarding perl. The documentation is REALLY light from the vendor (they probably hired someone to code it and that's it. Literally their documentation is cwd so undefined symbol perl_xs_apiversion_bootcheck "since the directory in which the perl interpreter looks for shared objects varies from installation to installation, we cannot give precise installation instructions"
Dbi.so: Undefined Symbol: Perl_istack_sp_ptr
modules but sharing an .so object is a complete mystery. I tried the following... ln -s perl64_mhdrg.so libmhdrg.so perl -MDynaLoader -I . -e 'package mhdrg; use parent "DynaLoader"; +bootstrap mhdrg; package main; mhdrg("f22", "/usr/tmp/drgmasks","1"," +34","2","V3000"," ","5","4");' perl: symbol lookup error: ./libmhdrg.so: undefined symbol: Perl_Ts +tack_sp_ptr [download] Looks like it's trying to load the library...... I do have my perl -V output appended to this message. I'm guessing that I'm not using the same version of Perl that the .so was built for but admittedly that's a guess. I will be donating to the offering plate in conjunction with finding this answer. Lemons can be lemonade. :-) UPDATE: I just donated $20.00 to the Perl Foundation. (You guys are the best and I appreciate the answer. Anyone have an idea how I would proceed ? JC PS - perl -V output below ... (sorry about the lengthiness) ------------------------------------------ Summary of my perl5 (revision 5 version 10 subversion 1) configuration +: Platform: osname=linux, osvers=2.6.24-29-server, archname=x86_64-linux-gnu-t +hread-multi uname='linux crested 2.6.24-29-server #1 smp wed mar 16 19:04:28 u +tc 2011 x86_64 x86_64 x86_64 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dccc +dlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr -Dprivlib=/us +r/share/perl/5.10 -Darchlib=/usr/lib/perl/5.10 -Dvendorprefix=/usr -D +vendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/ +usr/local -Dsitelib=/usr/local/share/perl/5.10.1
Sign in Pricing Blog Support Search GitHub This repository Watch 0 Star 1 Fork 0 dumper.so: undefined symbol: perl_xs_apiversion_bootcheck sebnow/text-tnetstrings-perl Code Issues 1 Pull requests 0 Projects 0 Pulse Graphs New issue Undefined Symbol Perl_xs_apiversion_bootcheck #1 Open richinsr opened this Issue Jan 20, 2012 · 4 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants richinsr commented Jan 20, 2012 I http://www.perlmonks.org/?node_id=921286 am getting the following error when trying to run a program that is using Text::TNetstrings on one of our RedHat Linux hosts perl: symbol lookup error: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Text/TNetstrings/XS/XS.so: undefined symbol: Perl_xs_apiversion_bootcheck When building the module, everything compiles and the test pass w/o any errors We have been able to build and run https://github.com/sebnow/text-tnetstrings-perl/issues/1 the same program on OSX but not a Linux host Some info about our setup: cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.5 (Tikanga) perl -v This is perl, v5.8.8 built for x86_64-linux-thread-multi Was wondering if you had any suggestions on how to get your module working or if you need more information please let me know. Thanks, Ryan Owner sebnow commented Jan 23, 2012 The Perl_xs_apiversion_bootcheck symbol is not used by the library directly. It's actually a part of Perl. I don't know what would cause it to be missing - I'm not too familiar with the Perl XS linking procedure. I'm guessing this will be something related to either XSLoader or something specific with your environment (installation paths, module versions, etc). I haven't been able to find anything useful regarding that symbol. Do the tests use the XS version of the module? The output will tell you. What versions
to Milestone freeradius (Ubuntu) Edit Fix Released Undecided Unassigned Edit You need to log in to change https://bugs.launchpad.net/bugs/181510 this bug's status. Affecting: freeradius (Ubuntu) Filed here by: SeanBoran https://bbs.archlinux.org/viewtopic.php?id=198700 When: 2008-01-09 Confirmed: 2008-03-18 Started work: 2010-01-05 Completed: 2010-01-05 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance undefined symbol Fix Released Undecided Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description Binary package hint: freeradius FreeRadius can start a perl module script, but when asked to do so it cannot symbol lookup error find libraries: freeradius: symbol lookup error: /usr/lib/perl/5.8/auto/Socket/Socket.so: undefined symbol: Perl_Tstack_sp_ptr Tested on: Ununtu 7.10 server. See also http://
1 #1 2015-06-15 20:34:22 LessWire Member From: Bavaria Registered: 2010-06-14 Posts: 42 [solved] perl 5.22.0-1: undefined symbol: perl_xs_apiversion_bootcheck urxvt doesn't start with perl 5.22.0-1 from the testing repo:urxvt: symbol lookup error: urxvt: undefined symbol: Perl_xs_apiversion_bootcheck Last edited by LessWire (2015-06-24 07:06:51) Offline #2 2015-06-15 22:32:41 A.J.Rouvoet Member From: Naaldwijk, The Netherlands Registered: 2012-06-30 Posts: 36 Website Re: [solved] perl 5.22.0-1: undefined symbol: perl_xs_apiversion_bootcheck Same here Offline #3 2015-06-15 23:58:43 Knute Member From: Minot, ND Registered: 2009-03-17 Posts: 604 Re: [solved] perl 5.22.0-1: undefined symbol: perl_xs_apiversion_bootcheck Reinstall urxvt. Knute Offline #4 2015-06-16 00:05:09 jasonwryan Forum & Wiki Admin From: .nz Registered: 2009-05-09 Posts: 19,590 Website Re: [solved] perl 5.22.0-1: undefined symbol: perl_xs_apiversion_bootcheck And rebuild all your necessary packages: https://lists.archlinux.org/pipermail/a … 27236.htmlThe two scripts will identify problematic packages. Arch + dwm • Mercurial repos • GithubRegistered Linux User #482438 Offline #5 2015-06-24 07:06:18 LessWire Member From: Bavaria Registered: 2010-06-14 Posts: 42 Re: [solved] perl 5.22.0-1: undefined symbol: perl_xs_apiversion_bootcheck Uncarefully i forgot to activate [community-testing] in pacman.conf. Now it updates all Perl scripts and urxvt works fine.Thanks for the hints.Rgds, LW Offline #6 2015-06-24 07:07:16 jasonwryan Forum & Wiki Admin From: .nz Registered: 2009-05-09 Posts: 19,590 Website Re: [solved] perl 5.22.0-1: undefined symbol: perl_xs_apiversion_bootcheck Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title. Arch + dwm • Mercurial repos • GithubRegistered Linux Us