- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Compiling a module
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 03:41 AM
11-11-2005 03:41 AM
Compiling a module
I'm posting this on behalf of one of our developers who is having problems compiling a module in HPUX - they don't have it in LINUX or SOLARIS and so I am getting grief because of it ;-(
The problem is, I quote "Compiling libssh2 on tcmds003. Getting the following error:
gcc -o libssh2.so channel.o comp.o crypt.o hostkey.o kex.o mac.o misc.o packet.o publickey.o scp.o session.o sftp.o userauth.o -L/usr/local/lib -lcrypto -L/opt/zlib/lib -lz -shared -lm
/usr/ccs/bin/ld: CODE_ONE_SYM fixup to non-code subspace in file /usr/local/lib/libcrypto.a(md5_dgst.o) - shared library must be position independent. Use +z or +Z to recompile.
collect2: ld returned 1 exit status
gmake[1]: *** [libssh2.so] Error 1
Seems to be something in the way our openssh/openssl is compiled."
Has anyone got any ideas on this?
Thanks,
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 04:02 AM
11-11-2005 04:02 AM
Re: Compiling a module
the message indicates that not all the modules were compiled using -fpic or -fPIC (the gcc +z and +Z equivalents). This really looks like you need libcrypto.sl rather than libcrypto.a.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2005 11:19 PM
11-13-2005 11:19 PM
Re: Compiling a module
This is what our developer hahs to say- does anyone have any further advice?
"I found this also. Problem is libcrypto is generally supplied via openssl (sometimes openssh) package which is a vendor supplied package. It is this that needs recompiling, but as it is not our software nor supplied by us, what can we do ? (except move to linux where stuff gets compiled properly and can be recompiled if necessary)..."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2005 11:31 PM
11-13-2005 11:31 PM
Re: Compiling a module
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 12:15 AM
11-14-2005 12:15 AM
Re: Compiling a module
Any other ideas?