Problem with AIX: shared libraries aren't loaded


 
Thread Tools Search this Thread
Operating Systems AIX Problem with AIX: shared libraries aren't loaded
# 1  
Old 05-21-2010
Problem with AIX: shared libraries aren't loaded

Hello guys, I have a trouble when running an application in AIX, I've compiled and the
LIBRARY_PATH seems ok, but I get the following message:
Code:
rtld: 0712-001 Symbol __pthread was referenced
      from module main_app(), but a runtime definition
            of the symbol was not found

ldd and dump -Tv doesn't report any trouble
Code:
[25]    0x00000000    undef      IMP     DS EXTref libpthreads.a(shr_xpg5.o) 
__pth_init
[26]    0x00000000    undef      IMP     BS EXTref libpthreads.a(shr_xpg5.o) 
__pthread

I've tried some parameters (-bexpall) but nothing works, please give me some clue

thanks in advance
# 2  
Old 05-21-2010
Which version AIX and technology level?
# 3  
Old 05-21-2010
Quote:
Originally Posted by ygemici
Which version AIX and technology level?
Aix: 5.3.00
Code:
>lslpp -l | grep -i "Compiler"
  vac.C                     10.1.0.0  COMMITTED  IBM XL C Compiler
  vac.html.common.search    10.1.0.0  COMMITTED  XL C for AIX Compiler 
...

# 4  
Old 05-21-2010
I didnt meet this error before but if your application is related oracle or sql , in my research this is a can bug and your system needed to upgrade Technology Level 7
# 5  
Old 05-21-2010
Quote:
Originally Posted by ygemici
I didnt meet this error before but if your application is related oracle or sql , in my research this is a can bug and your system needed to upgrade Technology Level 7
I think it does
Code:
oslevel -s
5300-09-02-0849

indeed I'm using proC for my app however I have another old one that uses the same parameters for ProC and I don't get errors, what linking parameters must I consider?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

shared libraries problem

hi, while running the below query it gives the shared libraries prmblem, $ cd /oracle/app/product/fmw/asinst_1/bin/ $ ./opmnctl status /oracle/app/product/fmw/Oracle_IDM1/opmn/bin/opmn: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: Permission... (0 Replies)
Discussion started by: rahulsword
0 Replies

2. Shell Programming and Scripting

Utilizing libraries when you aren't root.

I'm having a bit of trouble trying to make use of Net::SSH::Expect. I've started getting dependent libraries and set PERL5LIB to add my custom path because I don't have root access. I tried using cpan, but it always tries to use paths I don't have access to. Next, I tried just moving the .pm... (1 Reply)
Discussion started by: mrwatkin
1 Replies

3. AIX

Loaded Shared Libraries

Hi, I have a problem about loaded shared libraries. I'm issuing ‘procldd' for a process and AIX shows me the loaded shared libraries. I'm collecting these libraries and counting their size. They were 350MB. After this, I'm issuing ‘ps vx' and I'm seeing that the process takes 130MB from AIX's... (1 Reply)
Discussion started by: jhatzics
1 Replies

4. UNIX for Dummies Questions & Answers

Which sections of a shared library should be loaded in the physical memory?

Each shared library may contain sections with allocatable flag as below: ... .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_d .rel.dyn .rel.plt .plt ... My questions is that: among above sections, which of them should be loaded in the physical memory by run-time linker... (3 Replies)
Discussion started by: Dongping84
3 Replies

5. AIX

Wrong Shared objects getting loaded

I have two envoirmets(Envoirment A and Envoirment B) running on same server(AIX vesion 5.3).Both have different groups.I am facing a strange problem.Shared objects of one envoirment (Envoirment A)are getting loaded into the second(Envoirment B).So the servers that have dependency on shared objects... (2 Replies)
Discussion started by: nitin@tcs
2 Replies

6. Programming

how to view loaded shared libraries by running processes in linux

anybody knows how to view loaded shared libraries by running processes in linux enviornment? any command or tool ? thanks a lot (3 Replies)
Discussion started by: princelinux
3 Replies

7. Programming

makefile for programs using libraries loaded at runtime

Hi everybody! I would like to set in the makefile a path that should be the path where the program searches for the libraries loaded at run time. Is there such a variable to be set in makefile? Thanks in advance! (1 Reply)
Discussion started by: nadiamihu
1 Replies

8. AIX

memory problem in AIX shared libraries

Hi All, I'm facing the following issue with my shared libraries in AIX. memory related calls such as memset, memcpy, malloc etc are failing miserably. there is something wrong with stack/memory which i can't guess. i've used the following flags to build my libraray: ld -G... (0 Replies)
Discussion started by: abhinav05252
0 Replies

9. Programming

dynamically loaded libraries

how to get the list of all dynamically loaded libraries in memory ?thanks! (3 Replies)
Discussion started by: rainshadow
3 Replies

10. Programming

Shared libraries

Hello everybody, I am having major problems at the moment with shared libraries and I have to little knowledge of them to solve them. So please, please help me :) Ok this is the problem: I have a library A, which uses B and C, and C uses again D. If I try to run A as plugin in apache,... (0 Replies)
Discussion started by: Micky
0 Replies
Login or Register to Ask a Question