General :: See The Source Of Libs?
Oct 23, 2010Is it possible to find out the source of libdb_cxx-4.3.so and other lib files in Linux? If yes, how?
View 6 RepliesIs it possible to find out the source of libdb_cxx-4.3.so and other lib files in Linux? If yes, how?
View 6 RepliesI need to use a lib developed by me in c in my php app but i don't now how. I will use it in Linux.
View 2 Replies View RelatedI have bash. I installed Qt libs and want to set environmental variable PATH, I tried some stuff from qt tutorials..
Here is what i tried:
Code:
and it does nothing so i tried
Code:
then checked path
Code:
Now there are two issues
1) the make gives error that header not found( probably make don't have the path)
2) when i closed the terminal and opened it again the PATH I newly entered was not there !
I wanted to install an rpm package on two suse 10 systems. It installed successfully on one system but on the other it throws an error like
Code: error: Failed dependencies: rpmlib(PayloadIsLzma) <= 4.4.2-1 is needed by linuxProj-1-1.noarch
Now this means that rpnm package has no error but the rpm in itself is lacking some libs. So can anyone tell me that how can I download and add these libs to the already installed rpm. Note the difference between rpm and rpm package.
I am fairly new to ubuntu. I have to compile some libraries under ubuntu in a directory other than the default directory and then get the shared object libs (.so) libs for building some custome kernels. I created a directory structure as follows:
/home/username/build-target
/home/username/src-<libname> =>here are the source files for the lib. I need to compile
Now I create a directory /home/username/src-openssl and download the source code and untar it under this directory and issue ./configure --prefix=/home/username/build-target --exec-prefix=/home/username/build-target and then make and make install. I was expecting that the shared object libraries created (.so) files should have gone under /home/username/build-target/libs, however I just see only libssl.a and libcrypto.a and not .so files under the build-target/lib directory. For grep also I did the same thing as above however I don't see any lib directory created under build-target directory as I was expecting.
I need some PHP libs that don't come with the standard install - I assume that means I'll have to build PHP from source. Can I use a package manager to download the source? How? If I do, will it have the code for all the libraries? Are there specific instructions for building and installing on ubuntu?
View 2 Replies View RelatedI'm trying to install OpenDX(dx)-4.2.0, a scientific graphics visualization tool on Suse Linux 10.1 . But its giving following error:
icc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -Dlinux -I/opt/intel/MESA/7.5.2/DRI2PROTO/include/X11/extensions -I/usr/X11R6/include -g -O2 -I/usr/X11R6/include -D_GNU_SOURCE -c callm_xinit.c
callm_xinit.c catastrophic error: could not open source file "Xm/Xm.h"
[Code]....
To resolve this error, I tried to install Mesa OpenGL libraries (mesa-7.5.2). But its not getting installed even after resolving dependencies such as libdrm, dri2proto, libpthread-stubs.
Are there any rpm distributions available for mesa libraries on Suse?
I recently upgraded my RHEL system from 5.5 to 6.0. When I went to install a 32-bit application I got the normal failure for missing 32-bit libs (/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory). With RHEL5, simply installing ia32-libs takes care of this problem.
In this case, a "yum search ia32-libs" shows no such package exits. So either it doesn't exist or I've got a yum config problem (although I can pull x86_64 packages just fine). If it doesn't exist, is there an equivalent package?
I am trying to locate the ia32-libs package, no luck. This is for squeeze. Is there a source (for inclusion in sources.list) that serves this package?
View 2 Replies View RelatedLast night I was updating my system and I ran into some dependency errors. It seems like gecko-libs is having problems. here are my yum update results.
Code:
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package epiphany.i586 0:2.26.3-1.fc11 set to be updated
---> Package firefox.i586 0:3.5.1-1.fc11 set to be updated
--> Processing Dependency: gecko-libs = 1.9.1 for package: epiphany-2.26.3-1.fc11.i586
---> Package xulrunner.i586 0:1.9.1.1-1.fc11 set to be updated
---> Package yelp.i586 0:2.26.0-5.fc11 set to be updated
--> Finished Dependency Resolution
epiphany-2.26.3-1.fc11.i586 from updates has depsolving problems
--> Missing Dependency: gecko-libs = 1.9.1 is needed by package epiphany-2.26.3-1.fc11.i586 (updates)
Error: Missing Dependency: gecko-libs = 1.9.1 is needed by package epiphany-2.26.3-1.fc11.i586 (updates)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
Code:
sudo rpm -qa|grep yum
yum-3.2.23-3.fc11.noarch
yum-metadata-parser-1.1.2-12.fc11.i586
anaconda-yum-plugins-1.0-4.fc11.noarch
yum-utils-1.1.22-1.fc11.noarch
PackageKit-yum-0.4.8-2.fc11.i586
PackageKit-yum-plugin-0.4.8-2.fc11.i586
yumex-2.0.5-6.fc11.noarch
I assumed this had to be a FAQ, but after hours of searching, how to do this on FC11, but that didn't work with the yum on FC10. I don't need a huge list, but at least the basics (ld-linux.so, and I imagine the C++ compatibility libs).
View 2 Replies View RelatedAfter upgrading KDE from 4.6.0 to 4.6.3 SpiderOak will fail to run with message. Cannot mix incompatible Qt library (version 0x40703) with this library (version 0x40701). There's no more SO package in Non-OSS, apparently due to some support issues. That's a pity, since Dropbox had conceded access to US agencies, IMO SpiderOak is a really good option, and has been working very nicely until now. Anyway, Yast tells me that KDE 4.6.0 uses Qt 4.7.1, while 4.6.3 brings in Qt 4.7.3. A possible solution may be found here, originally for Qt 4.7.2. I'll try it and report.
View 5 Replies View Relatedi was trying to remove the flash plugin 32bit wrapper (don't remember the exact name of the package),using the command apt-get -y remove --purge and i saw somehow uninstalled a bunch of other programs like the gnome-network manager,emphaty...Now i rebooted and can't log on anymore .Is there a way to repair this,like running an upgrade from the livecd to restore the missing parts without wiping out my conf & other programs ? I've tried this that i found some other forum ,but i didn't work
Code:
sudo mkdir /mnt/repair
sudo mount /dev/sda3 /mnt/repair
sudo chroot /mnt/repair su
[code]....
I'm running a dual-boot with windows 7
I have some issue with QT in ubuntu , almost all QT application I cant use now. If I use Q4wine:
q4wine: symbol lookup error: /usr/lib/libQtSql.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv
If KGet
q4wine: symbol lookup error: /usr/lib/libQtSql.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv
SMPlayer
smplayer: symbol lookup error: smplayer: undefined symbol: _ZN9QListData7detach3Ev
Like all my QT applications is facing problem, How I can reinstall the qt libs? I am using ubuntu 10.04.
There are three new "k1DZ 1n the Block" for CAD users in Linux :
Bricscad
Ares Commander Edition
Draftsight
there used to be Varicad, which also runs in 64 bits natively, as well as QCad ( 2D only ) and BRLCAD ( more of a solid modeler than a Drafting program ), both built from source. Those new K1dZ out there are awesome, but they only run in 32 bits. My system is Squeeze 64 Bits and has multilib enabled... i can install the *deb, and it complains about architecture, so i use --force.. default install is in /opt... still this asks for some libraruies which i do have for 64bits, but do not exist for 32...
So my questions are :
Should I install these 32 bits libraries to run the application ( mostly issues related to rendering ) they would land in /usr/lib32/...
But naming convention in apt or synaptic would still refer them by the same name as their 64 bits counterparts. How does apt (synaptic ) deals with this?
I find all this to much of an unnatural thing to do to my Squeeze install just to make an app fit and run. So far I can remove the app using synaptic but I am very reticent about installing those 32 bits specific libs required by the app. I already have the ia32-libs metapackage installed.
Trying to build the required libs for synCE, www.synce.org, as listed in their web site under building from sources. Came upon a snag, on building the odccm library which needs gnet-2. I loaded gnet-2 from my distribution DVD, and then did an #ldconfig afterwards, but it still says that it needs gnet-2. Not sure why it can't see it. I tried to build gnet-2 from source, but had a difficult time finding it as it is deprecated and Gnome only had the latest build which did not build (errors).
From configure script for odccm-0.11: no package 'gnet-2.0' found. Part of configure script is below.
Code:
if test -n "$PKG_CONFIG"; then
if test -n "$GNET_CFLAGS"; then
pkg_cv_GNET_CFLAGS="$GNET_CFLAGS"
else
if test -n "$PKG_CONFIG" &&
[Code]...
I tried to link my executable program with 2 static libraries using g++. The 2 static libraries have the same function name. I'm expecting a "multiple definition" linking error from the linker, but I did not received.
Code:
//staticLibA.h
#ifndef _STATIC_LIBA_HEADER
#define _STATIC_LIBA_HEADER
int hello(void);
[code]....
I'm trying to change a group of cpp files to one shared lib. I have created a shared lib with a single file. I then did this with a group of files. The difference in what I'm doing is that before with the single file, .a, was added into a single .o file. Now I'm trying to add it to my main.cpp file which is NOT a .o file. I'm now getting these compiler errors from the main.cpp where is doesn't seem to recognize the semaphores.Example Error: undefined reference to `sem_wait'If I were not to use the share libs this compiles and runs as I expected it to.Something tells me this is a compiler flag issue, at least I hope it is
View 1 Replies View RelatedAre there some effective tools to purge the system of unused libs/pkg and other files?Till now I found localepurge (i do not remember where i found it) which does some trick, but I am sure there is a lot of other things laying around in Slack with no real reason to be there in some minimal installation.I found also unsuedpkg in google.code, but it does nothing on a fresh system.Such question won't rise if Slack team wouldn't be forgetting about Slack's significance in server segment and putting big efforts in "deskopisation" of it. I'd be happy seeing directories like xlibs/ and mm_stuff/ where all x related libs and multimedia related ehhh... files could go (I hope developers will see this message).
View 3 Replies View RelatedI've been having problems with Dolphin hanging on me and I found out that the problem is due to something with dbus 1.2x. So I downloaded the source for dbus 1.3.1 and proceeded to update dbus by incrementally uninstalling and installing all of the packages it requires. Today I noticed that both dbus-libs 1.24 and dbus-libs 1.3.1 were installed, so I went to get rid of the 1.2 version so that yum would stop telling me there was a conflict.
This is what I did:
Code:
su
rpm -e --nodeps dbus-libs
rpm -Uvh file:///root/rpmbuild/RPMS/X86_64/dbus-libs(versionNum).rpm
I ran that once and restarted, but I think that something happened the first time because rather than it replacing the 1.2x version with 1.3.1 all that was left was 1.2x. So I did the same process as the last time, but after removing dbus-libs I forgot the path to the RPMbuild so I closed konsole and tried to open Dolphin. Well, obviously that's not going to work. So then I, even more stupidly, restarted... And now Fedora won't boot up. How do I reinstall dbus-libs without a bootable Fedora?
My friend just installed Ubuntu from cd on a computer without Internet connection. She hoped to be able to open some video and music files there, but it turns out there were no proprietary libs in the installer. And since the majority of the files were avi, mp3 and mp4, they couldn't be read.I am an experienced Linux user, but I have mainly dealt with Gentoo, plus I'm used to be able to download and install programs directly through a package manager. However since my friend's computer isn't connected we don't have that possibility.
how can I install proprietary libs (like for the formats mentioned) to this computer? Could they be available from the installation disc, and if so how do I get them? Can I transfer packages with a memory stick? (And is there some easy way to find all dependencies?) Or any other solution?I do have a 3G mobile modem dongle which perhaps we could use. However I have bad impressions of those and Linux. Will it work without a great deal of configuring (or extra software)? Otherwise, this method would mean an extra step.
Im trying to build ffmepg with shared lib under ubuntu 8.04 hardy. Im was following these instructions :
>> Install FFmpeg and x264 on Ubuntu Hardy Heron 8.04 LTS <<
But it was not for shared library. So in the part 7. I added "--enable-shared" to the "configure" command but when I compile ("make") I ve got an error:
"
/usr/bin/ld: /usr/local/lib/libopencore-amrnb.a(wrapper.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libopencore-amrnb.a: could not read symbols: Bad value
[code]...
I read another thread saying how to resolve this error :
>> trouble with ffmpeg and shared libs <<
but its still make the error when i follow these instructions...
I decided to add "--enable-pic" flag to "configure" but the error still happen.
I'm running Ubuntu 10.10 64bit and I have succesfully installed 10.10 32bit as a chroot using URL...I'm able to go into the chroot shell and it works perfectlyI want to run PCSX2. I have it downloaded in my personal Downloads folder but how to I access it from a chroot? also will I have to install all the libs required for PCSX2 within the chroot itself?
View 9 Replies View RelatedI need to cross-compile some libs for using in a ARM11 board running Linux (at this time, 2.6.28, but I'll try update it... and for costs reason, maybe it turns on a ARM9 board). The libs are libfprint, libusb-1.0 (that is a requirement of libfprint), libSDL (and some of its extensions) and maybe libsqlite3. How I can make this, with the development files in the host machine (an Ubuntu 10.04 32bits machine) and the runtime files at the host ARM11 Board.
View 6 Replies View RelatedI untared a few libs on the wrong server (that's the when you're supposed to start laughing!) and I corrupted my server. Everytime it boots up, I get the following error:
/sbin/init: relocation error: /lib/tls/libc.so.6: symbol _dl_out_of_memory, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference. Kernel panic - not syncing. Attempted to kill init!
I can I restore the original libs? I'm running RHEL 2.6.9-42 on a Proliant DL585.
I'm in the process of installing the latest version of Crunchbang linux on a 64-bit laptop. I would like to run some 32-bit programs, but when I try to install ia32-libs using 'apt-get install ia32-libs', I get the following error messages:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following packages have unmet dependencies:
ia32-libs : Depends: ia32-libs-i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
After the 4th install The printer will at least produce a test page, but the available resolution is low, I suspect I need the gutenprint enhanced drivers, printer is a EPSON R285. Where do I find the nvidia libs so I can use the Nvidia driver for my ancient 8500 GTX. Using the package manager find nvidia shows nothing.
Are these libs held on another repo, as in other distros?, and is Acroread availble? is there a listing if the repos somewhere, I have some apps that have to be compiled and are a pig to get going, due to using those funny cut down libs that ubuntu use. When I backed up the last failing version of FC13, which hung as soon as yum was started, didn't print ect, I didn't close firefox down before copying the file. So the user config is locked, ie, you get firefox is already running, and fails to start. I found parentlock and deleted it, but but there is another lock file that needs to be removed, and I can't find it.. Anyone know the location of the lockfiles for firefox.?
I want to update my Red Hat using yum. So i got this kind of error:
Code:
--> Processing Dependency: libdb.so.2 for package: gnome-libs
--> Processing Dependency: libdb.so.2(GLIBC_2.0) for package: gnome-libs
--> Processing Conflict: yum conflicts yum-rhn-plugin < 0.5.3-30.el5
--> Finished Dependency Resolution
Error: Missing Dependency: libdb.so.2(GLIBC_2.0) is needed by package gnome-libs
Error: Missing Dependency: libdb.so.2 is needed by package gnome-libs
Error: yum conflicts with yum-rhn-plugin < 0.5.3-30.el5
What it mean? How to fix it? It stop my update.
I'm running openSuSe 11.3 and KDE4.5, but the only version of KDirStat that I can find in the repos is dependent on the KDE3 libs. Is there a version available for KDE4.5? Or maybe something else equally as good (apart from running WinDirStat under Wine)
View 1 Replies View RelatedSo the above is the error message I am receiving when trying to compile (at make stage when error received) binutils 2.20.1. I am compiling in Virtualbox and the base machine is SourceMage 64bit.
View 4 Replies View Related