CentOS 5 :: Boost C++ Libraries Installation?
Nov 10, 2009the installation procedure of boost c++ libraries .. i.e boost 1.34.1 on centos..
View 5 Repliesthe installation procedure of boost c++ libraries .. i.e boost 1.34.1 on centos..
View 5 RepliesI installed Boost 1.43.0 on Fedora 12 32 bits, using standard build from the source code procedure:
./bootstrap.sh
./bjam
./bjam install
I see all Boost libraries in /usr/local/lib. Now I build my own program depending on the Boost libraries, and it is built successfully. However, when I try to execute my program, it shows "Library not found" message:
Code:
[alex@localhost ~]$ sixfpdconsole
sixfpdconsole: error while loading shared libraries: libboost_system.so.1.43.0: cannot open shared object file: No such file or directory
[alex@localhost ~]$ ldd /usr/local/bin/sixfpdconsole
linux-gate.so.1 => (0x009d1000)
libboost_system.so.1.43.0 => not found
libboost_thread.so.1.43.0 => not found
[Code]....
I use OpenSuse 11.3, Eclipse Elios for C++. What do I have to do for using boost? I put #include <boost/regex.hpp>, but it can't find the file. What variable do I have to use?
View 3 Replies View RelatedI'm compiling a project that uses boost libraries (1.45.0) for a MIPS target, and when trying to compile with bjam I get the following error:
Code:
libboost_system-mt.a(error_code.o): In function `(anonymous namespace)::generic_error_category::message(int) const':
error_code.cpp:(.text+0x55c): undefined reference to `__glibc_strerror_r'
collect2: ld returned 1 exit status
how do I install boost 1.44? The whole time I have something wrong .. how I install?
View 13 Replies View RelatedI'm trying to build boost on a 64-bit CentOS 5.4 install. I have Python 2.6.4 built and installed at /opt/Python_2.6.4/, and I've appended the user-config.jam file with:
using python : 2.6 : /opt/Python_2.6.4/python : /opt/Python_2.6.4/Include : /opt/Python_2.6.4/Lib ;
The standard system Python is 2.4.1 but the tools I'm using require 2.6, so I've built this version and installed it independently of the system version 2.4.1 to avoid any conflicts.
As I'm sure you've already imagined, I get the error:
LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)
I see that this is a long standing bug, but I have yet to find a fix. I've tried various CCFLAGS, CXXFLAGS, etc. to push for a 64-bit compile or a 32-bit compile (-m64 or -m32).
The offending file is pyport.h - is there a 64-bit friendly version that I don't know about?
explain how to install 1.44 or higher on centos
View 2 Replies View RelatedI'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?
View 1 Replies View RelatedA 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.
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?
View 4 Replies View RelatedWhy 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?
View 1 Replies View RelatedI'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...
View 4 Replies View RelatedSystem: CentOS 54 x86_64
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?
View 3 Replies View RelatedI have just installed from the Live Cd (Fedora 13). So far so good except that I have just installed the updates (which has taken some time) .
The updater screen shows a full progress bar and next to the progress bar is this text " checking for libraries currently in use" this has been at least one hour showing the same thing, it hasn't changed (PC is still running OK). Does this mean I can safely quit and the updates will be OK or should I keep waiting for a reboot screen or updates success message ? Is this normal, if so how long does it usually take to complete?
[root@espeed log]# /etc/init.d/ntpd start
Starting ntpd: ntpd: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
[root@espeed log]# ldd /usr/sbin/ntpd
linux-gate.so.1 => (0x00786000)
libm.so.6 => /lib/libm.so.6 (0x0059d000)
[code]....
I recently got Fedora 11, I've heard it's not the best distro to learn Linux with, but I'm liking it so far, and having a good time
I've gotten the OS up, network works, and I'm using it now. So I'm trying to get a few plugins and applications and I'm having some trouble. Main two I'm working on right now are Adobe Flash Player and Wine. I downloaded and installed Adobe Flash Player, but it didn't register that I had it on Firefox.
I took my laptop to best buy, and after about a half an hour, they said I was missing these libraries/plugins:
nspluginwrapper.i386
nspluginwrapper.x86_64
pulseaudio-libs.i386
alsa-plugins-pulseaudio.i386
libcurl.i386
They said they could do it for $100, so I'm trying to do it myself.
I found and tried to install the first one (RPM file), and it said it was incompatible.
I am a Fedora neophyte, upgrading a web server from Fedoras core 5 to Fedora 13. I finally got Apache and perl up and running, but my Perl scripts don't run because of the lack of Perl libraries.I have been able to use yum install thus far to get what I need which is a terrific tool when it works. I note there is a specific tool named 'cpan', and of course one can download libraries directly from the cpan.org website.Unfortunately, I have tried to download perl libaries from yum the cpan library from yum, and in each case I get:
[URL]
And it has tried maybe 20 mirrors, alway with the same result. What is the best way you experienced Fedora types have found to download and install perl libraries (like LWP for starters)?
I moved a program from one machine to a different one. When I run it on the new one I get errors. How do I tell what libraries it's missing and then find them?
View 8 Replies View RelatedI'm trying to install proprietary driver of my old ATI's Radeon x600 card. There are two libraries missing: XFree86-Mesa-libGL XFree86-libs
View 2 Replies View RelatedI want to set up ubuntu 10.10 on a computer WITHOUT Internet access.I also need to install a package on it but it has several dependant libraries (eg libX11-dev)If i just have the names of those libraries & the package, where can i find them, so that they can be downloaded onto a pendrive & then installed onto the comp? (What would a library file look like after download?)
Also after i have copied the files onto the other comp (assuming that it was possible), how do i install the library? Would synaptics recognise that i have installed this library if done manually by this method?
i am trying to install: kiso-0.8.3 but when I try ./configure I recive this error >>>>>>>>>>
configure: error: Qt (>= Qt 3.2) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log
I am running the 64-bit version of Fedora 12 on an Intel system. I want to run a particular application that is only available in 32-bit.
How can I get the needed system libraries installed so I can run the application?
I've recently upgraded from 8.04 to 9.10 and in the process, I've lost access to gfortran. I'm using the gfortran that came with Karmic, but when I execute the make file I get this:
Code:
ld GetNextPerigee.o -o GetNextPerigee
ld: warning: cannot find entry symbol _start; defaulting to 0000000008048094
GetNextPerigee.o: In function `MAIN__':
GetNextPerigee.f90:(.text+0x26): undefined reference to `_gfortran_set_options'
GetNextPerigee.f90:(.text+0x2b): undefined reference to `_gfortran_iargc'
[Code]....
I am trying to install makemkv [URL]. I tried to install makemkv and I used the first command to install the tools and libraries. Sudo apt-get install build-essential
libc6-dev
libssl-dev
libgl1-mesa-dev
libqt4-dev
I then try to use:
make -f makefile.linux
sudo make -f makefile.linux install
And I get:
kevin@kevin-desktop:~$ make -f makefile.linux
make: makefile.linux: No such file or directory
make: *** No rule to make target 'makefile.linux'. Stop.
kevin@kevin-desktop:~$ sudo make -f makefile.linux install
I dl both files and extracted them in the download folder with the tar files.
I have Ubuntu 10.04. I installed the KDE libraries to use Okular. Then Ubuntu took almost 30s more to boot (20s black screen between login and desktop). I uninstalled KDE, booted on another kernel, rebooted and the boot time was OK again (25s).
I reinstalled KDE, 55s to boot again. Rebooted couples of times always the same. Rebooted on another kernel then again on mine (it seems to fix the slow boot times).
Boot time was 35s (I thought it was OK). After lauching Okular, the boot time was again 55s...
Removed KDE, Okular, and the boot time is normal again since 10 reboots..
I've been playing around with this forever now, I am trying to do the example timer using boost asio's example, I keep getting an undefined reference error for boost::system and pthread errors, so after a bit off googling I went back to boosts' to follow their advice it didnt help one bit I know where the boost system lib is /usr/lib and the include directives are in /usr/includes however, when issuing the command they said that needs to be done as in the example with gcc nothing happens just file not find and I am inputting the correct path.
View 1 Replies View RelatedMy computer don't have a DVD driver. So I want to install Opensuse 11.3 via a U dish.I burn live CD in U dish. And select Usb-hdd as the first boost. But I am failed.
View 9 Replies View Related