Ubuntu :: RHEL GCC Libraries - Versions - Linking ?

Aug 1, 2011

My principle machine is Ubuntu 10.10 (x86_64) with gcc version 4.4.5, but I'd like to run the compiled/linked code from it on a RHEL server release 5.4 with gcc version 4.1.2.

Now, the error at runtime is "version 'GLIBCXX_3.4.9' is not found (required by ./executable)". The server has /usr/lib64/libstdc++.so.6.0.8, but seems to need at least .so.6.0.9. However, the admin of the server will not allow the libraries to be updated as "the entire system is tied to an older version of glibc and forcing an upgrade could break the entire system especially when making the jump across major revisions."

He recommended that I build the newer version of glibc in my home directory and link against the libraries, but didn't offer direction on how.

View 1 Replies


ADVERTISEMENT

Software :: Compiling Code - Linking To Libraries Using Different Versions Of C++ Runtime?

May 19, 2011

Basically, I'm trying to compile program A, which depends on LibA and LibB. LibA would not build with my version of G++ 4.4.3 due to a bug, so I've compiled the latest G++ 4.5 (installed in /opt directory) and built that library successfully (also installed in /opt).

I have LibB on my system already, but it was built with the 4.4.3 version. When compiling my final program, am I going to have issues because the .so files were built with different versions of gcc/g++? Or should I just rebuild a special version of LibB with the later version of the compiler just for that program? I can proceed and just see what happens, but I'm a little confused about how things work in a situation like this.

View 2 Replies View Related

General :: Use Always The Latest Versions Of The Libraries And Don't Save The Old Libraries For Compatibility?

May 11, 2011

Why many Linux distros are trying to use always the latest versions of the libraries and don't save the old libraries for compatibility? I mean, I can see libtiff for example, i can found a libtiff.so.5 on my /usr/lib, but doesn't store a libtiff.so.4 or 3 just for binary applications or games. For this example, I need libtiff.so.4 for uplink.

That should happen too on the old version of sims for linux, some ID games or others.What's wrong with storing old libraries? PD: Yay, my first post on 3 years!

View 6 Replies View Related

General :: Ubuntu 10.04 - Linking To Lua Libraries With Codeblocks

Jun 18, 2010

After I downloaded the source for lua, I followed the install instructions, doing...

make linux install
make generic install

I've also done the make test and it passes, printing out Hello World, from Lua 5.1. However, I can't link to the lua libraries in CodeBlocks. I know where lualib.a is (usr/local/lib) which I set in my Search Directories for the linker. I still get error messages like...

undefined reference to lua_isstring

P.S. I had this running on Windows via Visual Studio.

View 1 Replies View Related

Fedora :: Linking To X Development Libraries In GTK+

Oct 17, 2010

I am running Fedora 13 on a ASUS G71G Trying to install GTK+ 2.4.8; after installing all the dependencies(Pango, Glib2.0, ATK), I ran ./configure from my GTK+ directory. It configured for a while, then this happened: checking for X... no configure: error: X development libraries not found I tried linking them with PKG_CONFIG_PATH=<path to X lib directory>, but I got the same error message. How do I get GTK+ to recognize the X development libraries? Additionally, does the default build of X11 on Fedora 13 contain the appropriate libraries? Ive included the GTK+ configure scripts as an attachment.

View 1 Replies View Related

General :: Linking GPL Apps To Non-GPL Libraries

Jan 20, 2010

I have a library that I have ported from Windows, and is not a derivative work of Linux. The library is subject to copyright law, and I can't disclose the source. I would like to link a GPL application to this library, and want to know if the linking would cause the library to be GPL. If the library becomes GPL, is there some other way (kernel loadable module?) that I can keep my library from becoming a work of GPL?

View 2 Replies View Related

Programming :: Linking Application To Open Source Libraries

Feb 10, 2011

I would like to ask you something about open-source and linux. Is it possible to make a commercial application for linux and sell it compiling it with linking to open-source libraries without altering them and consequently without allowing download of the source code and without making the application itself free?

View 3 Replies View Related

General :: Static Versus Shared Libraries (Linking C Program With GCC)

Mar 16, 2010

I have a third party static library (libSTATIC.a) that I cannot recompile into a shared library. I want to create a shared library (libSHARED.so) that uses the C functions in the static library. Is it possible to do this? In other words, when linking a C program with gcc by using the -shared flag, is it necessary that all all libraries invoked in the program (even low level libraries such as libc for example) be available as shared libraries as well?

View 2 Replies View Related

Software :: App To Check What Libraries And Their Versions I Have?

Jan 30, 2011

Is there a command or an app that will tell me exactly what libraries I have installed, and what versions?

View 1 Replies View Related

Red Hat :: Any Difference Between Two RHEL Versions?

Apr 1, 2010

Kindly tell me Red Hat 3.4.4-2 and Red Hat 4 are same ????

View 2 Replies View Related

General :: What Versions Of G++ And Gcc Come Standard With RHEL 5.3

Feb 23, 2011

I ran into an issue that was written up here on LQ and/or on other sites, the one dealing with an error similar to the following one: error trying to exec 'cc1plus': execvp: No such file or directoryThe solution seems is to make g++ and gcc versions consistent. I've since remedied that, but am slightly confused with my findings and concerned with my solution.

When I first looked in /usr/bin for all references to g++ and gcc, I saw that there were two version of gcc and one version of g++:

(Note the "??? ?? ????" as date for gcc. I've since made some changes, but this was essentially the set of gcc and g++ files that existed before I started.)

I'm told that the system I'm using is an "out of the box" installation, i.e. no modifications. As installed, gcc is the newer version and does not correspond to g++34:

Confusion and concern: When I use makefiles from software I've adopted, I run into the cc1plus problem eluded to above. The cc1plus error occurred because the makefiles expected there to be a command named "g++," so I created a symbolic link, pointing /usr/bin/g++ -> /usr/bin/g++34. And in doing so, g++ was not consistent with gcc. I've since fixed that, i.e. copied the gcc34 version to gcc and my software builds fine.

My question are:

1. Will copying the gcc34 version to gcc cause issues in the future, possibly related to upgrades and/or istallations of other packages that rely on "gcc"? Currently the files are as follows:

2. Were the g++ and gcc files in /usr/bin the "out of the box" versions?

3. How can I answer a question like this in the future, without posting to LQ, i.e. is there a reference to find this type of information?

View 1 Replies View Related

Server :: Error 27 While Loading Shared Libraries - Libdb-4.3.so On RHEL 5

Mar 15, 2011

Recently I came across this error while booting up our RHEL 5 server:

Starting send mail:/ user/ sbin/sendmail:error while loading shared libraries libdb-4.3.so cannot open shared object. error-27

sm-client:/ user/ sbin/sendmail:error while loading shared libraries libdb-4.3.so cannot open shared object. error-27

Also, while creating a new squid user, I get the same error: htpasswd /etc/squid/squid_passwd alok

htpasswd: error while loading shared libraries: libdb-4.3.so: cannot open shared object file: Error 27

The libdb-4.3.so file exists in my /usr/lib. When I looked up for error code 27, it says " File too large ". I thought maybe its because of the number of users. But even after removing some duplicate user accounts, I still can't figure out why the error remains.

View 2 Replies View Related

Programming :: Static Linking Versus Dynamic Linking

Apr 18, 2010

I have written an OpenGL based program which uses i.a. libjpeg that I want to link statically so I can send it to someone who doesn't have all the libraries needed installed to allow for a dynamically linked executable to run. As such I tried with giving the [b]-static[b] parameter to gcc.

Code:

x86_1$ make
gcc -O3 -c jpegloader.c
gcc --std=c99 -O3 -c --std=c99 -I/usr/include -L/usr/X11R6/lib main.c

[code].....

Why would gcc claim that I'm missing GLUT? This works perfectly fine when I do dynamic linking -- i.e. omitting the -static argument.

View 13 Replies View Related

Ubuntu :: Difference Between LTS Versions And Other Versions?

Jun 30, 2011

I'm not to clear on the difference between LTS versions and other versions, but think I may want to go with LTS. Can someone tell me if my thinking is correct given the following situation: I have some very cool, but very expensive software installed with a group license from my school, a school which I am not going to be attending for too much longer. So I want to go as long as possible without reinstalling Ubuntu, because once the product is licensed it will be licensed until I reinstall Ubuntu (or I uninstall the program). So I think this is going to require me keep the Ubuntu version I install as long as possible.

So in this case, should I go with 10.04LTS or should I just install Natty Narwhal and keep that as long as possible? It looks like 10.04LTS will be "supported" longer, but I'm not exactly clear on all that "supported" entails. Presumable it means security and software updates will be available for 10.04LTS for much longer than 11.x versions? So I'm thinking I should go with 10.04LTS

Is my thinking correct in going with 10.04LTS? Edit: It was pointed out that this would be against my contractual agreements. Which I suppose is probably true.

View 8 Replies View Related

General :: Using Dynamic Libraries As Static Libraries?

May 6, 2010

Is there any way to use a dynamic libraries as a static libraries instead when compiling, so that my resulting executable won't have them as dependencies?

View 3 Replies View Related

Server :: Edit The Default RHEL CD To Have It Automatically Install RHEL Based Off Of A Kickstart File

Mar 2, 2011

is possible to edited the default RHEL CD to have it automatically install RHEL based off of a kickstart file that I will store locally on the CD. My plan would be to put a cd in a server and have the OS automatically being installed.

View 3 Replies View Related

Server :: Configuration Difference Between RHEL 3 To RHEL 5 For Webserver Installations?

Feb 1, 2011

We are planning to migrate our LINUX server from RHEL 3to RHEL 5. What are the configuration difference between RHEL 3 to RHEL 5 for webserver installations?

View 1 Replies View Related

Software :: Unable To Boot To RHEL 4 32bit After Installing RHEL 64bit - Error 13: Invalid Or Unsupported Executable Format

Apr 27, 2009

I have 4 partitions in my system, out of which two(sda1, sda2) have windows on them. I have installed RHEL 4 32 - bit on sda3 and after that , installed installed RHEL 64-bit on to a partition sda 5. Now i am unable to boot into RHEL 32-bit. The error i am getting is Error 13: Invalid or unsupported executable format.

View 1 Replies View Related

General :: Cannot Ping From Host (RHEL 6) To RHEL 5 In (virtual)?

May 1, 2011

can not ping from host (RHEL 6) to RHEL 5 in (virtual)? I have stopped iptables on both machines. But still not able to ping from host machine to virtual.

View 1 Replies View Related

Software :: Uninstall RHEL 3 And Install RHEL 9 Without Affecting XP?

Jul 13, 2009

I have RHEL 3 and Win XP Installed in my P.C?I want to uninstall RHEL 3 and install RHEL 9 without affecting XP.how can i do this and also where can i download free RHEL 9 version or any other latest linux distribution for free?

View 1 Replies View Related

CentOS 5 :: Pirut/yum: RHEL 5.1 - Maintain An Unregistered RHEL Box?

Feb 16, 2010

A client has sent me an RHEL 5.1 box for me to do some work on, but it's not registered with Red Hat. This is causing me problems, because it's a minimal installation, and I need some more dev software.My immediate reaction was to install various bits (emacs, and so on) from my Centos 5(.0) DVD.The base RHEL system only had one (disabled) repo entry,so I added a yum DVD repo entry in yum.conf.d.

This looked good to start with, but it doesn't work. Something in RHEL's pirut/yum/rpm/whatever is getting confused, and can't work out what is/isn't installed.

Question - how do you maintain an unregistered RHEL box? Has RH done something to make life difficult? Is my problem simply that I'm using a Centos 5.0 DVD, instead of Centos 5.1? Am I stuck with downloading lots of rpms from the net and doing everything manually? I really don't want to do that.

View 2 Replies View Related

General :: Downloading RHEL 5.4 AS From RHEL Website?

Dec 23, 2009

I am trying to download RHEL 5.4 AS version for testing..But under [URL] There is no specific link for AS version or ES version..How can I detect which iso is for AS and which one for ES..? There are separate links for AS and ES version for RHEL 4.x version but why is it not available for RHEL 5.x versions?

View 3 Replies View Related

Server :: Major Differences Between Rhel 5.2 And Rhel 5.4?

Dec 14, 2010

what are the major differences between rhel 5.2 and rhel 5.4

View 2 Replies View Related

Red Hat :: Duplicating A RHEL 5.1 32bit Server On RHEL 5.4 64 Bit

Dec 9, 2009

I have a database server running RHEL 5.1 32 bit that suffered some catastrophic failures about 6 months ago. We were able to patch it back together and keep it running, but now the manufacturing site it supports is going to shut down for two weeks and I would like to replace it permenantly. Does anyone have any guidance for that sort of thing? I'd like to have the new server up and running before hand, basically changing the hostname/ip and restoring the databases only on conversion day. I've done this in the past with HP UX - Red Hat conversions, but this is my first red hat to red hat move. Any advice or shortcuts?I forgot to add the other wrinkle. The new server will be running 64bit linux.

View 1 Replies View Related

Red Hat :: Install Dmidecode And Procinfo In RHEL 4 / RHEL 3?

Feb 6, 2009

I have RHEL 4, RHEL 3, i need install dmidecode RPM packet and procinfo packet... exist this packets for this linux versions?

View 11 Replies View Related

Ubuntu :: Linking Domain Name To Server

Mar 18, 2010

I have a domain name registered with Enom and have access to the domain settings, what I want to know is there a way I can link my domain name (sbarow.com) to my Ubuntu server. I would like to be able to type my [url] into my browser as opposed to [url] to access my server from other locations.

View 4 Replies View Related

Ubuntu :: Linking A Folder To A Harddrive?

May 13, 2010

i would like to link a folder, in my case that is 'Pictures' to a different harddrive with a folder containing pictures.So whenever i save pictures it would save by default onto the harddrive with the linked folder.How can i do that. I tried to do it with ls i think but this makes softlinks which did not let me open automatically open the other folder. omg i hope i don't make it to complicated to understand.So here a visual plan of it.the default folder/home/user/pictureslike to link it to /media/pictures/photoshotsso this is the harddrive (another internal harddrive) which contains a different folder where i store my photos in general.

View 9 Replies View Related

Ubuntu :: Linking SH Back To Bash?

Jan 4, 2011

What issues will I create for myself if I link /bin/sh back to bash?

View 3 Replies View Related

Ubuntu :: Linking To External URLs In Tomboy?

Jul 18, 2010

Is there any way to embed a URL to an external web page in the text of a tomboy note, in the same way that other notes are linked to? I know I can just pates the URL into the note and have it link out, but when the link is over a hundred characters long (not kidding) then that stops being an option.

View 1 Replies View Related

Ubuntu :: Linking External Hard Drives ?

Feb 23, 2011

So me and my friend our on my network and we have done a bit of hacking and have managed to get music off of pandora and have it sort it by forlder /media/...../artist/album/song and it won't redownload a song that we have already downloaded (this is done by our code that we stripped from pithos and modified a bit) also we wrote a bash script that renames all of our files correctly and tags them with .mp3

I was wondering if I could link our two hard drives to make sure that we aren't both downloading the same songs. I am also having issues getting my external accessible on the network i have it formatted to use a FAT32 file system.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved