ld: Can't find library or mismatched ABI for -lstdc++


 
Thread Tools Search this Thread
Operating Systems HP-UX ld: Can't find library or mismatched ABI for -lstdc++
# 1  
Old 09-15-2005
ld: Can't find library or mismatched ABI for -lstdc++

Hi,
I am having problem of linking .o and I am working with HP -UX gcc version is 3.4.2 . I have complied few cpp files and got .o's. But at the time of linking i am having issue.
it is returning
ld: Can't find library or mismatched ABI for -lstdc++
Fatal error.

I have lib at location
here is the details.... Could you please advise me how to resolve this ...
thanx in advance..
regards



-r--r--r-- 1 bin bin 5581548 Sep 11 2004 libstdc++.a
-r-xr-xr-x 1 bin bin 1139 Sep 11 2004 libstdc++.la
lrwxr-xr-x 1 bin bin 16 Jan 10 2005 libstdc++.so -> libstdc++.so.6.2
lrwxr-xr-x 1 root sys 16 Mar 1 2004 libstdc++.so.5 -> libstdc++.so.5.5
-r-xr-xr-x 1 root sys 1283264 Nov 5 2003 libstdc++.so.5.5
lrwxr-xr-x 1 bin bin 16 Jan 10 2005 libstdc++.so.6 -> libstdc++.so.6.2
-r-xr-xr-x 1 bin bin 4547240 Sep 11 2004 libstdc++.so.6.2
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Comparing two files and writing mismatched rows along with mismatched columns. Pointing out the mism

I got a requirement where I need to compare two files wrt to each columns and write the corresponding difference in another file along with some identification showing mismatched columns. Pointing out the mismatched columns is my main problem statement. For example we have files like: File 1 ... (8 Replies)
Discussion started by: piyush pankaj
8 Replies

2. Shell Programming and Scripting

awk delimiter count if mismatched?

Hi all, I have a file where in it has lot of records in it. I have written below stuff to find the number of fields as shown below `awk -F '|' '{print NF-1}' file.txt| head -1` how do i proceed if in case any record in particular is having more number of delimiters, if it having??? what... (7 Replies)
Discussion started by: nikhil jain
7 Replies

3. HP-UX

Unable to find library libncurses.so.

I'm trying to run a file name remote build which is to build a package on a target server. My target server is HP-UX-itanium 64 bit. When I run the remote build, somehow it cannot find `libncurses.so` or maybe it looks for the `libncurses.so` at some other location. This only happens on HP-UX... (3 Replies)
Discussion started by: fikriemuthafa
3 Replies

4. UNIX and Linux Applications

Linux-abi

Does anyone have any recent experience with this. Linux ABI Project | Get Linux ABI Project at SourceForge.net (1 Reply)
Discussion started by: jgt
1 Replies

5. Linux

Error Mismatched object file

Dear All, Need your help to rectify this error. Recently I have upgraded my Linux server from 32 bit to 64 bit server. OS details are Red Hat Enterprise Linux Server release 5.3 Kernel 2.6.18-120.el5 on an x86_64 After upgradation, when i try to compile or catalog any program, it is... (2 Replies)
Discussion started by: mysmileforu
2 Replies

6. HP-UX

how could find HP UX application develop library

if I would like to develop application on HP UX ,where can I serarch the library and API ,like develop windows application with MSDN thanks (1 Reply)
Discussion started by: alert0919
1 Replies

7. HP-UX

ld: Can't find library or mismatched ABI for -lstlport_aCC

Hi All, while compiling on HP UX, i am getting the following error ld: Can't find library or mismatched ABI for -lstlport_aCC i am new to unix and HPUX, please suggest solution ASAS thanks in advance vindhyalesh (3 Replies)
Discussion started by: vindhyalesh
3 Replies

8. HP-UX

ld: Can't find library or mismatched ABI for

I started building a program which connects to MySQL and got: ld: Can't find library or mismatched ABI for -lmysqlclient_r I tried building my own MySQL and use these, and it worked but then it gave me: ld: Can't find library or mismatched ABI for -lrt But librt is a system library (and... (1 Reply)
Discussion started by: selalerer
1 Replies

9. UNIX for Dummies Questions & Answers

configure script can't find a library

I installed libxml2 library from source and it installed itself in /usr/local/lib i added /usr/local/lib to ld.so.conf and ran a ldconfig ( as root ) then i tried to compile tablix-0.0.3 wich does require the installed version of libxml2 i ran ./configure ( as normal user ) and i get the... (2 Replies)
Discussion started by: progressdll
2 Replies

10. Programming

Can't find curses library

I am writing a c program with the use of the curses but when i tried compiling i get the error that the curses library is not found the header file i included is curses.h and th command i typed is gcc -o chat chat.c -lcurses 1) Is this correct in linux? 2) found a file libncurses.so.5.2 ... (1 Reply)
Discussion started by: xenon830
1 Replies
Login or Register to Ask a Question
dlerrno(3C)															       dlerrno(3C)

NAME
dlerrno() - get error code for dynamic linking calls SYNOPSIS
[flag... ] file... [library]... DESCRIPTION
is one of a family of routines that give the user direct access to the dynamic linking facilities (using the option on the compiler or com- mand line). returns a numeric error code that corresponds to the last error that occurred during dynamic linking processing. If no dynamic linking errors have occurred since the last invocation of returns Thus, invoking a second time, immediately following a prior invo- cation, results in being returned. The following is a complete list of the mnemonic error codes. The numeric values can be found in Unknown error. No Error. Cannot open load module. I/O error mapping load module Load module is not valid. Unknown ELF version in library. Unable to find library. Cannot allocate dynamic memory. Unknown relocation type. Internal error encountered. Invalid flag to call. Failed to apply relocation. Invalid argument. Unknown symbol. Invalid load module index. Invalid load module handle. Cannot close load module due to remaining dependencies. relocation on non-thread-specific symbol. Non-thread-specific relocation reference to thread specific symbol. failed. Cannot load module with thread-specific data. Invalid load module handle for unload. Cannot unload load module due to remaining dependencies. Unsatisfied code symbol in load module. Unsatisfied data symbol in load module. Invalid symbol name for Invalid symbol type. Invalid flags for Invalid symbol type for Unknown handle. Invalid descriptor argument. Invalid address for Invalid descriptor version. Cannot write data. Cannot open program file to read data. Cannot read data. Fastbind data is out of date. Invalid option. No data. call failed on entry. call failed on exit. failed in reading target memory. ABI mismatch because a 64-bit program found a 32-bit shared library. ABI mismatch because a 32-bit program found a 64-bit shared library. Invalid flags. The library is invalid due to a bad magic number. The library is invalid due to a bad alignment. The library is invalid due to a missing symbol table. The library is invalid due to a missing program header. The library is invalid due to a bad machine type. The library is invalid due to a bad object file type. Unable to get shared fixed address from Cannot use fixed address due to multiple data segments. Invalid NULL library name. Bad flags or type for Invalid argument for Cannot open filtered library: TLS size exceeds size recorded in filter. Caliper instrumentation failed: cannot open file. Caliper instrumentation failed: cannot read loadable note section. Caliper instrumentation failed: cannot open pipes for communication. Caliper instrumentation failed: failed. Caliper instrumentation failed: failed. Caliper instrumentation failed: caliper returned failure. Caliper instrumentation failed: unknown message retrieved on pipe. Caliper instrumentation failed: cannot stat file. Library contains a static TLS reference to a symbol defined in a dynamically loaded library. Call to failed. Address not found in any load module. failed for the library. Invalid argument for Library has multiple text segments. Library has multiple data segments. Invalid argument for I/O error accessing library using Invalid load address for Cannot use pre-allocate address for mapping library because of fixed address. Shared library missing execution permission. Encounter error while loading library. Cannot load library because required extensions not present in the hardware. MULTITHREAD USAGE
This routine is thread-safe. SEE ALSO
dlclose(3C), dlerror(3C), dlopen(3C), dlsym(3C). Texts and Tutorials: (See the option) (See manuals(5) for ordering information) ELF Applications Only dlerrno(3C)