hpux-itanium 64 bit problem for libC


 
Thread Tools Search this Thread
Operating Systems HP-UX hpux-itanium 64 bit problem for libC
# 1  
Old 12-29-2011
hpux-itanium 64 bit problem for libC

i am trying to build on hpux-itanium 64 bit platform. my application needs to link to 64 bit version of the library libCsup.so

This library is present in /usr/lib/hpux64/libCsup.so

I am specifying the location of this library as linker flags

Code:
LDFLAGS := -Wl,-N -Wl,+s -Wl,+b,/usr/lib/hpux64:. -Wl,-Brestricted -mt -lCsup -l

But even after the above the linker complians and the library is not found and i get the error as follows:

Code:
ld: Mismatched ABI for -lCsup, found /usr/lib/hpux32/libCsup.so
Fatal error.

Any help?

---------- Post updated at 07:07 AM ---------- Previous update was at 05:08 AM ----------

---------- Post updated at 07:08 AM ---------- Previous update was at 07:07 AM ----------

Solved

Had to pass the path using -L"/usr/lib/hpux64" -lCsup

Last edited by skyineyes; 12-29-2011 at 08:08 AM.. Reason: posting ans below
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Compiling git in HPUX 11.31 itanium

Hello, Would you know the steps on how to compile git command in HPUX? (1 Reply)
Discussion started by: SystemAddict
1 Replies

2. HP-UX

converting void pointer to pthread_t on HPUX Itanium

i am trying to convert void pointer to pthread_t on hpux-itanium 64 bit which fails as below "src/file.cpp", line 88: error #2171: invalid type conversion pthread_t tid = reinterpret_cast<pthread_t>(m_threadId); 1 error detected in the compilation of "src/file.cpp" ... (0 Replies)
Discussion started by: skyineyes
0 Replies

3. Linux

Deploying Qt on CentOS - libc.so.6 update problem

I am developing a simple client-server (TCP) application using QT. The server side is to run on CentOS. I am developing both the server and client programs using Ubuntu. I am now attempting to deploy an experimental version of the server application on the CentOS server, but I am not yet... (2 Replies)
Discussion started by: David Brown
2 Replies

4. HP-UX

Having problem with mounting in HPUX

Hi Gurus, I'm using HP-UX B.11.23 system. I've been having some problem in mounting a filesystem that has been defined in /etc/fstab as shown below. fstab entries: /dev/vgsap/ora10264 /oracle/PRD/102_64 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2 /dev/vgsap/orasapreog... (2 Replies)
Discussion started by: superHonda123
2 Replies

5. AIX

Problem restoring libc.a (AIX 5.3)

Hi, The symbolic link from /usr/lib/libc.a to /usr/ccs/lib/libc.a was deleted by accident. So we are trying to restore it, but we have some problems. After booting from CD, and access the rootvg volume group (without mounting the system), we tried to execute the next commands: mount /dev/hd4... (1 Reply)
Discussion started by: NicoAIX
1 Replies

6. HP-UX

Problem with HPUX as NIS-Client

Hi all! I am running an NIS Server with Linux. Now I want to configure a HPUX-Server to use this NIS Server. I have don all the configuration stuff exactly as described in the documentation. When I run YPWHICH, it shows me the right server and domain. If I run YPCAT passwd, I'll get the... (4 Replies)
Discussion started by: pepade
4 Replies

7. HP-UX

HPUX Login Problem on the console

Hi Everyone, I have an HP3000 server on which I am unable to login to the server.I connected the server to my laptop thru a serial cable and I am unable to login thru any user ..when i enter my login id ..the system gets me back to the login prompt without asking me for a password. Cud u pls... (1 Reply)
Discussion started by: hunk
1 Replies

8. Programming

HPUX and Compaq problem-urgent

Hi All Following is the lines of code which simply makes a structure of 1 bit member and 7 bit is unused.Then the structure is initialised with char pointer.The output on HPUX(BIG Endian) and Compaq(Little Endian) are different.On HPUX it gives zero and Compaq it gives 1. I never thought that the... (7 Replies)
Discussion started by: Shobhit
7 Replies

9. UNIX for Dummies Questions & Answers

Oracle problem with HPUX 11.0

HI all I think i can get a perfect solution for our problem here. we r using oracle 7i on hpux 11.0 as a billing server .The thing is it used to get hanged sometime and we need to unmount and need to mount the oracle DB then we need to start the oracle process.The process running in that... (6 Replies)
Discussion started by: edwin_francis
6 Replies
Login or Register to Ask a Question