LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-03-2012, 06:54 AM   #1
duncank
LQ Newbie
 
Registered: Dec 2011
Location: N London, UK
Distribution: Centos6
Posts: 2

Rep: Reputation: Disabled
Centos 6 server - how do I install runtime libraries built on my dev box?


I've built my code on a Centos6.0 development box, which has dependencies on a handful of 3rd party libraries (xerces3.1, libodbc2.0, zlib.1.2.4). Ive built the 3rd party libraries from source and they're all installed in /usr/local/lib. everything works fine on my dev box.

Now I want to release my binary onto a Centos6.2 server. I dont want to build the 3rd party libs on the server box.

How do I install the runtime for these libs without going thru the whole download, build, install cycle?

Is it as simple as copying the .so files and creating the same soft links as I can see on my dev box?

Thanks
 
Old 07-04-2012, 10:21 AM   #2
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
You can either check what they are doing during a make install and copy the stuff to the other machine, or copy the already compiled directory to the other machine and execute make install thereon. Due to the difference in the OS, it might be necessary to rebuild them though if you discover that they are not working there.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Compiling code - linking to libraries using different versions of c++ runtime? Dweeb2010 Linux - Software 2 05-21-2011 11:38 AM
C/C++ runtime libraries hs_linux Linux - Newbie 1 12-14-2009 01:46 AM
Informix server on CentOS 5 error while loading shared libraries: libstdc++-libc6.2-2 ytd Linux - General 1 08-09-2009 02:14 AM
Why does my C program lookup libraries on runtime? jarobman Programming 14 02-15-2005 08:20 AM
C++ runtime library compatibility with Redhat libraries srinatar SUSE / openSUSE 2 01-29-2005 11:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration