Relink a binary


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Relink a binary
# 1  
Old 03-27-2007
Relink a binary

Hi,
under Unix AIX 5 3 , when launching a binary called adworker (ORACLE BINARY) I have this message :
Could not load program /exec/products/OA/v11.5.10.2/p13drec/p13dsmsappl/ad/11.5.0/bin/adworker:
rtld: 0712-001 Symbol __pth_init was referenced
from module adworker(), but a runtime definition
of the symbol was not found.
Do you have any idea ?
I think I should link or make adworker .
How should I do that ?
Many thanks before.
# 2  
Old 03-27-2007
I don't use AIX but it sounds like your program needs access to a shared library. There is usually a way to add paths when ld builds the executable, often a -R/path/to/shared_libraries or something like that. You probably have some environment variable, often called LD_LIBRARY_PATH that can be used to add directories to list. A few OS's have a utility to modify the built-in paths of an executable. My guess is that something along one of these lines would fix your problem.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Relink without recompiling

Hello, There is a need to link a new dynamic library to a big number of exes. Unfortunately, I cannot recompile/link all these exes against the new library. Is there any way to link an existing executable with the new library? (everything has been compiled using the xlc tool) Thanks (1 Reply)
Discussion started by: geodimo
1 Replies

2. SCO

Relink kernel error

SCO Unix 5.0.5 wd Srom 1 /var/opt/K/SCO/link/1.1.0Eb/etc/conf/cf.d/msci - parameter count Idbuild idscsi had errors System build failed. Any idea ? (1 Reply)
Discussion started by: lakicevic
1 Replies

3. AIX

Binary Comparision

Hi Folks, Is there any way to compare the binaries which are built in AIX (5.3.0) environment? Thanks in advance. MKR (4 Replies)
Discussion started by: MKR
4 Replies

4. Shell Programming and Scripting

Convert binary file to csv and then back to the binary format

Hello *nix specialists, Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies

5. Emergency UNIX and Linux Support

Which OS Binary was build

We have recently installed RHEL 5.4 on some existing 6.2 OS and migrated our code from RH 6.2 to RHEL 5.4. We are facing a difficulty that given a binary (on both OS they have same name) how can we distinguish that which gcc and OS it was build as there are some minor differences in between binary... (2 Replies)
Discussion started by: uunniixx
2 Replies

6. UNIX for Advanced & Expert Users

relink directories

Hello, I installed a new java version on a suse linux box. I see directory java is linked to the old SunJava 1.3 version. How can I relink it to the j2re1.4.2_15 directory so it will use the new java version without me having to hardcode the directory. Thanks. lrwxrwxrwx 1 root ... (4 Replies)
Discussion started by: benefactr
4 Replies

7. Linux

Binary Get Hanged

Hi, In our product we have use binary that fork the child process to make proxy the connection to device.But recently when we try to connect new configured device several times it get handed and binary stop making further new connection to device.it required to RESTART the services to make... (1 Reply)
Discussion started by: Anand Prakash
1 Replies

8. AIX

Compilation of gettext produces relink errors

Hi, I'm in the process of compiling gnu gettext on a rs/6000 43p-260 running AIX 5.1 in 64bit-mode. The compilation itself runs fine as I understand it, however the installation itself fails like so: I'm pretty much clueless about this relink stuff, so if anyone has suggestions, I'll try... (0 Replies)
Discussion started by: töfte
0 Replies

9. Solaris

compiled binary file gives "cannot execute binary file"

Hi, I have two Solaris machines. 1. SunOS X 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-1500 2. SunOS Y 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60 I am trying to buiild a project on both these machines. The Binary output file compiled on machine 2 runs on both the machines. Where... (0 Replies)
Discussion started by: scgupta
0 Replies

10. UNIX for Dummies Questions & Answers

Where is M4 binary?

Hello, I am configurating Sendmail on Mac OS 10.x terminal. I tried to execute m4 to generate a new sendmail.cf. It complains "Command not found". Anybody knows where the m4 binary is? Is it something coming along with Unix or Sendmail? Appreciate any help. Thanks in advance. pw (2 Replies)
Discussion started by: hypamw
2 Replies
Login or Register to Ask a Question