CentOS 5 :: Method For Installing Different Version Of GTK Libraries?
Apr 8, 2009
A much older version of the program compiled against GTK 1.2 works on CentOS 5.3
A current version of the program, compiled against GTK2, works in Slackware 12.1, 12.2 and 12.3. But I have a failure (see below) in CentOS 5.3.
The GTK library for each dist is
libgtk-x11-2.0.so.0.800.20 for Slackware 12.1
libgtk-x11-2.0.so.0.1200.9 for Slackware 12.2 and 12.3
and
libgtk-x11-2.0.so.0.1000.4 under CentOS 5.3
I have had the software working on different versions of GTK as well but no longer that that version information available.
(Below) -- I believe I've narrowed it down to the function gtk_entry_set_text in some (but certainly not all) instances.
I could provide details, but I doubt they really matter. My best guess is that libgtk-x11-2.0.so.0.1000.4 is broken. So, I'd like to replace it without learning how to compile gtk from scratch or causing problems with the rest of CentOS.
I am running centos 5.4. I just installed eclipse from Application,Add/remove software. The version that installed was not the latest version. I can remove the version I just installed but how should I install the latest version? I was able to dl the lastest version but it came in a .tar.gz file eclipse-java-galileo-SR1-linux-gtk-x86_64.tar.gz When I unzipped it, there was no install option but I was able to run it from the tmp folder.
I want to add a menu item under Applications, Programming to link to the latest version that I just downloaded but I haven't been able to figure this out. The 2 question I have are this: 1- Is there a way to have the latest version show up under Application,Add/remove software so that I can just uninstall the version I installed and get the lastest?
2- Is there a way to install the downloaded version and have it show up under Application, Programming? I love this OS but it's taking me a while to figure out some simple things.
I will be version-upgrading a friends (Ubuntu only) laptop very soon. It is 9.04 now and the new version will be (ideally) 10.04.1 The machine has a large unused area on the hard drive and who has known this situation was to use the uncommitted area to do a complete new install of 10.04.1, leaving the 9.04 unchanged (useful insurance). Then, copy, paste (?) the /home directory from the 9.04 into the newly completed installed 10.04.1 overwriting the installed directory.
Opinions seem to support the notion that such a paste into 10.04.1 is likely to be successful and trouble free as long as the 10.04.1 installing username is the same as the 9.04 username with same privilege level. I would be grateful for comments here, particularly with any details, gotchas, you can see.
I have installed NetBeans on Windows7 with c++ enabled but I can not write c++ code because it doesn't have c++ libraries. I have installed netBeans on my Fedora and in there it works fine because there is c++ libraries built with it. My questions are, Where is c++ libraries on Fedora (The destination)? Can c++ libraries in linux be copied to Windows? Will it work? If yes how? If not where can I download c++ libraries to windows7?
I havent used Linux in a long time. I dug up an old copy of Suse (version8.2), and installed it on an old 599MHZ PC. Ive been trying to update the various libraries to be able to get a updated version of Firefox installed. Is there any chance that this can work? I need to know if Im wasting my time and should just put winxp on this PC. Also, I cant get any repositories working. I assume the default ones I have on the Suse installation are bad and the ones for the later versions will not work.
I want to install pgplot on my PC. My Pc is running an intel i7-860. I install Fedora13 (X86_64 version). there is no g77_gcc in fedora13, it has only gfortran_gcc. I have edited the 'g77_gcc.conf' by copying it to'local.conf' and change 'g77' into 'gfortran', and follow all the installation instructions of pgplot. For examle, I did: /usr/local/src/pgplot/makemake /usr/local/src/pgplot linux local.conf.
It seemly go through to the last step correctly, but the last step './pgdemo1' failed. It showes the same error message as other friends showed in 2008 in Fedora10: error while loading shared libraries: libpgplot.so: cannot open shared object file : No such file or directory
In fact it does exists, and if I do 'cp libpgplot.so /usr/local/lib', it showes that the file already exists. I overwrite it, no use at all.Still the same error message. In google I find an item to teach 'how to install pgplot in 'gfortran_gcc', I follow its instructions step by step, but at last, pgplot still does not work. I am an old man, not familiar with computer.
Currently I've got Windows XP and Ubuntu 8.04 (I believe) on my laptop, with two separate partitions.I want to format the laptop and only have Ubuntu 10.04 installed on there, but since the CD drive is broken, I've just been trying to do it from USB. There must be something wrong with my laptop/booting from USB, because I've tried two different programs used to create Live USB installations (UNetbootin and Universal-USB-Installer). Both of them load the menu, let me select to install or run the Live CD, but neither of them get past the purple-ish Ubuntu loading screen. The screen just goes black (But stays lit), and nothing else happens.
So I'm wondering if there is different, easy-ish method for installing Ubuntu 10.04 to this laptop. It's got a working network adapter,
i wanna install packages for my RHLE how can i do that ,i tried in the add/remove software menu ,but i didn't work i tried rpm tools but the problem is how can i specify what i want from the cd like cmake library for example.
Installing from sources was always complicated to me, but biggest problem is installing when some strange dependencies are "missing". Let's do it on example - I am sure it will benefit lots of users.I have a unmodified ubuntu 9.10 (Karmic) on 64 bir architecture. I download latest Grisbi sources from official web page.I didn't modify any paths to system variables...and it's usually problem with glib or gtk with all other sources I try to install.
1) Could someone help me in this particular case with missing dependencies please? 2) What every User should do when trying to install from source and some libraries are missing?How to find them? How to install them ?
Not I recently installed a package (Vision Egg) that requires the Open GL libraries and headers, specifically, gl.lib and gl.h. I used Synaptic to install nvidia-current and nvidia-current-dev and it now looks as if the required libraries (under different names) are installed in /usr/lib/nvidia-current and as if the required headers are in /usr/include/nvidia-current. I am a bit confused because I also have /usr/lib/nvidia and /usr/lib/nvidia-173.
The installation of Vision Egg fails with "cannot find GL/gl.h" and "/usr/bin/ld: cannot find -lGL"There is a related post a few years ago under thread 200901 but it relates only to a single file problem that is fixed manually. I'd rather avoid that because it looks like it is easily breakable.Is there a standard way --- that is, a method that does not require error-prone manually changing or linking a multitude of file names --- of ensuring that programs which require GL/gl.h actually find the correct nvidia header file and also that the link loader finds the GL libraries.
I'm trying to install some third party software that looks for X11 libraries in either /usr/lib/X11 or /usr/lib64/X11, but both of these folders are empty on my CentOS 5.3 installation. Can someone tell me where to find these libraries, or what has replaced them? Based on what I've read so far, it looks like the xorg-x11-libs and xorg-x11-devel packages have been replaced in favor of the mesa-libGL stuff. Is this correct?
Trying to launch Second Life gives the following error message:
You are running the Second Life Viewer on a x86_64 platform. The most common problems when launching the Viewer (particularly 'bin/do-not-directly-run-secondlife-bin: not found' and 'error while loading shared libraries') may be solved by installing your Linux
This problem was easily found using search with solutions for Fedora 11.
The following information has been found for adding the 32 bit support to Fedora 11 but it does not work in Fedora 12.
The file created in the instructions below is a list of the 32 bit libraries. It is then called as input to yum to simply install them.
"Add the Libraries Next, add the 32-bit libraries by copying the following list, and pasting it into a text file. Save it as �Fedora-ia32.txt�."
Another post says that was all unnecessary as the following commands would do the same thing.
Could have simply been achieved by calling:$ yum install SDL.i586...(Or by selecting SDL.i586 in add/remove programs.)
The problem I have with Fedora 12 are neither of these will install anything in Fedora 12. Looking at add/remove programs does not yield anthing that looks like it is 32 bit support when searching with the argument "SDL".
Does anyone know how to install 32 bit support into Fedora 12 64 bit version ? I like the simple yum expression rather than long lists like the first example uses, but I'll try anything if it works.
A side question to this entire experiment is what chance would you give to Second Life being able to be run remotely using VNC? I would think if it runes on the Linux machine, using a remote terminal would have little impact. Using VNC isn't the usual way this will be run, I just wonder if it would work at all.
I'm looking to find out exactly how to go about changing the encryption method of shadow passwords from MD5 to something a bit stronger, like SHA. I've been looking around for a bit now and haven't found out how to do it. I've gathered that I'll most likely need to change the /etc/pam.d/system-auth file. Right now, there is a line that looks like this:
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok.I'm guessing the md5 should be changed to something else, like sha256. What else? I know I'll need to reset all passwords once the change is made, but I thought there was someplace else that controls how the passwd command encrypts passwords.
We have a production web site running apache 2.2.3 across several web servers. we also have a major problem with SPAM comments right now. our method of identifying valid IPs (whether by external clients/customers, or internal personnel) vs SPAM'ers is not ideal - its prone to erroneously labeling legit IP's as targets to be blacklisted.
What we need is.. a way to see how much distinct request traffic is coming from any given IP address to the site in real time (or very near realtime). Essentially we want to see in some graphic/chart way requests per sec to apache / per ip sorted by requests per sec.Would nTop do this? I've only used this in a limited form at a branch office, not on a production web server.
Trying to install yum-installonlyn, yumex reports a dependency error because libgif.so.4 is needed. However, that library is in /usr/lib and I also have copied it to /lib - with no success. Could anybody tell me which piece of information I am failing to give yum?
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!
In a research environment how can I ensure that all RPMs / packages that appear on one system will exist on another? I.e. when using rpm -qa all libraries on one system will be there on another. The reason for this is to ensure they are as close as possible. Is there an easy way to do this without dealing with a larger management suite tool?
I'm trying to compile libetpan-0.57 on RedHat Enterprise Linux 5.2 64-bit and it is refusing to link against the 64 bit system libraries. I've tried everything I can think of. I've tried to hack libtool, run the command make was trying to run manually and changing the library search paths but nothing works. When I run the command make tried to run manually and change -L/usr/lib to -L/usr/lib64 most of the "skipping incompatible" library messages disappear except for "/usr/lib/libexpat.so: could not read symbols: File in wrong format." Below is the output when I run make code...
While installing a software, I had to update the sqlite version that comes by default with the distribution (3.3 if I'm not mistaken). I had to uninstall sqlite and sqlite-devel with a "rpm --nodeps" because there were several dependencies ... I took the chance.
I then installed a new sqlite version from source (http://www.sqlite.org/sqlite-amalgamation-3.6.17.tar.gz) and it went ok apparently.
Soon after I noticed problems in some critical programs like httpd, yum, rpm ... all of them failing with the following error: error while loading shared libraries: libsqlite3.so.0: cannot open shared object file: No such file or directory code...
If there's a solution, how can I solve this big mess?
I installed squid non the CentOS 5 server. When I try to start squid I am receiving following error: # service squid start init_cache_dir /var/spool/squid... Starting squid: [FAILED]
The logs indicate the following: $ sudo tail /var/log/squid/squid.out squid: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: Permission denied .....
Although, all the libraries which are shown as missing are present, but still I am seeing the following. $ ldd /usr/sbin/squid linux-vdso.so.1 => (0x00007fffb95ff000) libcrypt.so.1 => not found libssl.so.6 => not found libcrypto.so.6 => not found libdl.so.2 => not found libz.so.1 => not found librt.so.1 => not found libpthread.so.0 => not found libm.so.6 => not found libnsl.so.1 => not found libc.so.6 => not found
I have tried setting the environment variable LD_LIBRARY_PATH $ echo $LD_LIBRARY_PATH /lib64:/usr/lib64:/lib:/usr/lib But still no use.
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?
I've installed CentOS 5.3 on a machine, and I need a Samba version 3.2 or higher. Since 3.4 is out, I thought I'd grab that. But, "yum list|grep samba" gives me only version 3.0.33. Is there a package of Samba I can grab that will upgrade the 3.0 installation so that I don't have two laying around? If not and I need to compile from source, do you have any suggestions for what arguments I should give configure? I'm not used to Linux coming from the BSD world
I'm quite new to Linux/CentOS. I installed LAMP from official CentOS repositories and I'm wondering why the PHP (5.1.6) or MySQL (5.0.77) versions are so old. Why there is now the latest versions available.
Is it recommended to use these versions or should I update to the newest one - if so could you plesae provide me some links to official repositories&tutorials.