Subject: Re: Undefined PLT symbol and Bus error
To: nmahajan@hssworld.com <nmahajan@hssworld.com>
From: Pritesh Shah <pritesh.krish@gmail.com>
List: tech-pkg
Date: 11/06/2004 00:22:25
hi,
i kinda looked at some of the discussions on this in the archives, but
i could not follow as to what i need to do to resolve the 'Undefined
PLT symbol' problem. Well i'm a complete novice in the matters that
were being discussed in the archives. So, can you please help me out ?
On Wed, 3 Nov 2004 10:43:15 +0530, nmahajan@hssworld.com
<nmahajan@hssworld.com> wrote:
>
> Hi Pritesh,
>
> This does sounds like a known ld relocation problem in NetBSD.
>
> I had faced similar problem some months back and the latest ld from the
> branch had solved this ..
> You can also try same .. this was known for many architectures and
> arbitarilly it cribs for symbols even when the dynamically linked libraries
> are in path ..
>
> you can search earlier archives on mailing list for my mail, or if need be I
> can dig my mails and send u same.
>
> Regards,
> Nitin
>
>
>
> Pritesh Shah <pritesh.krish@gmail.com>
> Sent by: netbsd-users-owner@NetBSD.org
>
> 11/03/2004 04:46 AM
>
>
> Please respond to
> Pritesh Shah <pritesh.krish@gmail.com>
>
>
> To tech-pkg@NetBSD.org, netbsd-users@NetBSD.org
>
> cc
>
> Subject Undefined PLT symbol and Bus error
>
>
>
>
>
>
>
> hi,
>
> i'm trying to test some accessgrid stuff with NetBSD.
>
> There are some .py files that come with accessgrid and are present in
> <path>/usr/bin.
>
> these depend on libcrypto.so.2, libc.so.6 and some libglobus_* libraries.
>
> some more details:
>
> accessgrid binaries
>
> collinsia: {5} ls /home/psham/home/ag/usr/bin
> AGNodeService.py NodeSetupWizard.py agpm.py
> AGServiceManager.py QuickBridge certmgr.py
> BridgeServer.py VenueClient.py python2p2.core
> CertificateRequestTool.py VenueManagement.py
> NodeManagement.py VenueServer.py
>
> libcrypto.so.2 (linked against libcrypto.so.300 from openssl-0.9.6mnb1 )
>
> collinsia: {11} ll /usr/lib/libcrypto.so.2
> lrwxrwxr-x 1 root wheel 36 Nov 2 14:51 /usr/lib/libcrypto.so.2 ->
> /home/psham/pkg/lib/libcrypto.so.300
>
> libc.so.6 (linked against libc.so.12)
>
> collinsia: {3} ll libc.so*
> lrwxr-xr-x 1 root wheel 13 Sep 8 2002 libc.so -> libc.so.12.83
> lrwxr-xr-x 1 root wheel 13 Sep 8 2002 libc.so.12 -> libc.so.12.83
> -r--r--r-- 1 root wheel 700411 Sep 8 2002 libc.so.12.83
> lrwxrwxr-x 1 root wheel 10 Nov 2 15:25 libc.so.6 -> libc.so.12
>
> many other libraries were linked properly so that the can be found.
>
> i'm gettting the following error:
>
> collinsia: {3} python2p2 AGNodeService.py
> Traceback (most recent call last):
> File "AGNodeService.py", line 28, in ?
> from AccessGrid.Toolkit import Service
> File "/home/psham/pkg/lib/python2p2/site-packages/AccessGrid/Toolkit.py",
> line 22, in ?
> from AccessGrid.Security import CertificateManager
> File
> "/home/psham/pkg/lib/python2p2/site-packages/AccessGrid/Security/CertificateManager.py",
> line 51, in ?
> from AccessGrid import Utilities
> File "/home/psham/pkg/lib/python2p2/site-packages/AccessGrid/Utilities.py",
> line 35, in ?
> from AccessGrid import Platform
> File
> "/home/psham/pkg/lib/python2p2/site-packages/AccessGrid/Platform/__init__.py",
> line 71, in ?
> from AccessGrid.Platform.unix import Config as Config
> File
> "/home/psham/pkg/lib/python2p2/site-packages/AccessGrid/Platform/unix/Config.py",
> line 21, in ?
> from pyGlobus import security
> File "/home/psham/pkg/lib/python2p2/site-packages/pyGlobus/security.py",
> line 11, in ?
> from pyGlobus import gssc
> ImportError: /usr/lib/libglobus_gss_assist_gcc32pthr.so.0: Undefined
> PLT symbol "fopen64" (reloc type = 7, symnum = 98)
>
>
> and when i link libc.so.6 against cross/i386-linux's libc.so.6
>
> collinsia: {12} ll libc.so.6
> lrwxrwxr-x 1 root wheel 46 Nov 2 16:10 libc.so.6 ->
> /home/psham/pkg/cross/i386-linux/lib/libc.so.6
>
> i get the following Bus Error:
>
> collinsia: {15} python2p2 AGNodeService.py
> Bus error (core dumped)
>
> I'm not sure of what's going wrong here, and have no clue? can
> somebody help me out of this?
>
> Cheers,
> Pritesh
>
>
> *********************** HSS-Restricted ***********************
> "Please note:The email domain of Hughes Software Systems Ltd. has been
> changed to "hssworld.com" from hss.hns.com" "DISCLAIMER: This message is
> proprietary to Hughes Software Systems Limited (HSS) and is intended solely
> for the use of the individual to whom it is addressed. It may contain
> privileged or confidential information and should not be circulated or used
> for any purpose other than for what it is intended. If you have received
> this message in error, please notify the originator immediately. If you are
> not the intended recipient, you are notified that you are strictly
> prohibited from using, copying, altering, or disclosing the contents of this
> message. HSS accepts no responsibility for loss or damage arising from the
> use of the information transmitted by this email including damage from
> virus."