CentOS 5 :: Compile The Fakeroot 1.15 But It Always Failed To Load The Shared Library Libfakeroot?

Jun 7, 2010

I have tried to compile the fakeroot 1.15 on centos 5, but it always failed to load the shared library libfakeroot.so file. I tried compiling 32 as well as 64 bit version of library but always it failed to load the library and give the following error:

ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.

any workaround to get this working?

View 1 Replies


ADVERTISEMENT

Programming :: Can't Load Shared Library (but It's Right There!)?

Feb 15, 2011

I have visited these boards a few times, but never posted. Here's my problem: I was given the source to a program and asked to get it running on a 64-bit Debian 2.6.26 machine. Currently it is working on 2 64-bit OpenSUSE machines.

The application uses TCL TK for a GUI and everything compiles just fine; however, on startup, the user must enter one of three possible modules to load; when attempting to load these modules (tcl 'load' function), I receive this error:

Code:
Error in startup script: couldn't load file "../Build/libMpf.so": libTransReaders.so: cannot open shared object file: No such file or directory
while executing
"load ../Build/libMpf.so Mpf"
("eval" body line 1)
invoked from within
"eval load ../Build/${px}${i}${sx} $i"

[Code]...

View 8 Replies View Related

Programming :: Save / Load Data Segment Of Dynamically Loaded Shared Object Library?

Aug 25, 2010

Our application uses a dynamically loaded shared object library (codec library) to compress and decompress audio streams.

There happens to be several static and global variables in this shared object library. Hence it is not possible to process two interleaved unrelated media streams using this shared object codec library because each stream corrupts/changes the contents of these static/global variables.

Is there a way through which a context save (save contents of data segment of shared object) and a context load (load previously saved contents of data segment of shared object)operation can be performed on the shared object library. This way the context for each media stream can be saved and loaded before and after processing the "other" media stream respectively.

View 3 Replies View Related

CentOS 5 :: Install Shared Library On 5.2 - Cannot Open Shared Object File: No Such File Or Directory

Feb 11, 2009

I am using Centos 5.2, and I installed all of the available gnome and gnome development libraries available via the "add software" menu item. Still, when running some programs, I get the following error message:

"error while loading shared libraries: libzvt.so.2: cannot open shared object file: No such file or directory"

If I understood it correctly, libzvt.so.2 is part of some gnome libs... where to find and how to install them?

View 5 Replies View Related

CentOS 5 :: Shared Library Exists But No Program Can See It?

Jan 12, 2010

I am trying to add some functions to a Postgresql database. The functions use a shared library which they think is: /usr/lib/pgsql/postgis-1.4.so They say: "ERROR: could not load library "/usr/lib/pgsql/postgis-1.4.so": libgeos_c.so.1: cannot open shared object file: No such file or directory"

I cd to /usr/lib/pgsql/ and do an ls. postgis-1.4.so is there. libgeos_c.so.1 is as well (and it's in /usr/lib/ )

Both the files seem to exist. I cannot copy either of them (cp says "cannot stat '[file]': No such file or directory".

View 6 Replies View Related

General :: Link Shared Library Against Other Shared Library?

May 27, 2010

I think that the solution is very simple, but I cannot reach this solution. I'm trying to build an B.so that uses A.so.

A.so is compiled using C;
B.so is compiled using C++;

Inside "Aso.h" file I'had declared:

Code:

#ifdef __cplusplus
extern "C" {
#endif

[code]....

There's no error to compile that, this library seems to be compiled correctly, but using the "nm" command the Aso.so functions appear with "U" of undefined. Trying to build an executable using the Bso.so library, I got this error: /lib/../lib/libBso.so: undefined reference to `foo(int, int, int)' I think that to solve this problem it's only link the Aso.so with the .o files generated at the compilation phase of my Bso. Using the "ldd" command I'm able to see that Bso.so depends on Aso.so, so what am I missing?

View 2 Replies View Related

CentOS 5 Server :: Can't Compile Idmap_passdb As Shared Module?

Apr 7, 2010

I have CentOS-5.4 box with all updates.I want to use samba as PDC with ldapbackend. All works fine, except winbind daemon. My samba version is 3.4.5.

# winbindd -D -d 3
# wbinfo -i test
test:*:50001:513:test:/home/W3/test:/bin/false

View 4 Replies View Related

CentOS 5 :: PHP Startup - Unable To Load Dynamic Library

Mar 4, 2011

I recently upgraded to php 5.2 using the testing repository. All went well except for one extension.

root@clibweb2 ~]# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules//usr/lib64/php/modules/http.so' - /usr/lib64/php/modules//usr/lib64/php/modules/http.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.2.10 (cli) (built: Nov 13 2009 11:44:05)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
[root@clibweb2 ~]#

I tried:
[root@clibweb2 ~]# ln -s /usr/lib64/php /usr/lib/php
Adding the complete path to php.ini
And using PECL
I still get the error.
Output of
getinfo.sh (general) is at [URL]
The Package specific is at [URL]

View 1 Replies View Related

Programming :: SDL Static Library - Shared Library ?

Apr 7, 2009

I'm reading about shared, static, and dynamic libraries. What is SDL? Is it static, shared, or dynamic?

I always thought a library would be a lot of .h and .cpp files compiled separately into .o files and then if you compiled your own program you could use the -l parameter to link the library and it was all compiled together. Now I'm not so sure.

I don't even see any SDL .cpp files in my system anywhere. All I have are lots of SDL .h files in /usr/include/SDL and I don't really understand the code in them.

I'm making a wild guess here: SDL is a shared library. SDL itself is NOT compiled into my program, therefore SDL must be on any system my program tries to run on. When I compile and link SDL all it needs is the header files to know what SDL function and objects it can use. And then on every system it uses an already compiled SDL shared library thingy somewhere.

So... where is that part of SDL? All I can find are header files.

I'm thinking the advantage of shared libraries is that someone could say update SDL on their own system and take advantage of the new features without having to download new executables with the new version of SDL compiled into them for every program that uses SDL.

So if I'm making an editor and a game engine and they both use a lot of the same .cpp and .h files that I wrote and I'm tired of updating one and then the other and I need to turn them into a library, then a shared library might be kind of a silly solution. I could just make a static library. Right? Because it's not SDL. Nobody else is ever going to use this library.

View 6 Replies View Related

CentOS 5 :: Can't Compile Asterisk-addons Because Of Failed Mysql Dependency?

Mar 29, 2009

I'm having a hard time getting part of Asterisk (the open source PBX) called asterisk-addons to compile with mysql CDR support which I need to enable Realtime I believe. I've spent the whole day trying to fault find this one (including thinking I had ruined my box and creating a new CentOS build!) and am pretty worn outWhen I attempt to install asterisk-addons (I've tried 1.6.0.1, 1.6.0.1-patch and 1.6.1.0-rc3), I get the following line in a ./configure:

checking for mysql_config... /usr/bin/mysql_config
checking for mysql_init in -lmysqlclient... no
Then when I do a make menuselect, MySQL is not selectable and XXX"d out:
[code]....

View 5 Replies View Related

CentOS 5 :: Kdump FAILED To Load?

Dec 19, 2009

When my server starts I received this text:No kdump kernel image found:[WARNING]Tried to locate /boot/vmlinuz-2.6.18-164.6.1.el5.centos.plusLoading kdump:[FAILED]

View 4 Replies View Related

CentOS 5 :: Failed To Load IPMI Drivers

Jul 13, 2011

I have a problem loading ipmi drivers. The program responsible for the loading fails on a first one (ipmi_ msghandler.ko) and quits

View 1 Replies View Related

CentOS 5 :: DStat Error Message - Module Topio Failed To Load

Aug 8, 2010

I need to know I/O stats per process. When executed dstat give the bellow error message.
dstat -M topio -d -M topbio
Module topio failed to load. (No module named dstat_topio)
Module topbio failed to load. (No module named dstat_topbio)
CentOS release 5.3 (Final)
uname -r => 2.6.18-128.2.1.el5
How to resolve the above error message

View 2 Replies View Related

General :: How To See If Shared Library Is Currently Loaded

Jul 13, 2011

How can I see if a shared library is currently loaded? (i.e. system-wide, process agnostic)How can I see all shared libraries loaded by a process?

View 2 Replies View Related

Ubuntu :: Gcc Shared Library For G++ Application?

May 2, 2011

I built a shared library for some API functions (C files) and compiled them with gcc. Now I'm writing a c++ application (compiling with g++) and want to link my C API shared library and be able to use it from my application. Is this possible? At first instance, it's not quite working for me. I was able to link my shared lib just fine with a C application but got an "undefined reference to `apiFunction()'" error when attempting to do it with g++. Just want to see if anyone has any insight on this subject and make sure this mix is even is allowed.

View 1 Replies View Related

Software :: Cannot Find Shared Library

Feb 18, 2010

I am trying to install the WebSphere MQ Client on a Red Hat Version 5 server with OS x86_64bit.. When I try the first step of there process it fails trying to find shared libraries:ERROR: Installation will not succeed unless the license agreement can be accepted. The MQ Client is 32 bit, but I am told it should work on 64 bit server...

View 2 Replies View Related

Software :: Which Is Best Option To Go With Shared Library?

Nov 19, 2010

I need a design which requires complete modularity and speed. I have a huge monolithic process that i'm seperating now with individual modules as libraries.I'm just worried how to go about the no of shared libraries? for example can i have 10 shared libraries in place of 1? what will be the advantage in that case?

View 2 Replies View Related

General :: Compile A C Code Which Uses SSH Library?

Jan 26, 2011

i try to compile a c code which uses SSH library,but i get this error

Code:
libssh.h: No such file or directory

i searched and i found that This happens if a library used for linking is not present in the standard library directories used by gcc.

By default, gcc searches the following directories for header files:

/usr/local/include/
/usr/include/

and the following directories for libraries:

/usr/local/lib/
/usr/lib/

i update my libssh from libssh-0.4.2-1.fc13.i686 to libssh-0.4.6-1.fc13.i686, and there are files called libssh.so.4 and libssh.so.4.0.2 in /ur/lib, but i still can't compile it with this command:

gcc test.c

View 3 Replies View Related

Slackware :: 13.0 - How To Compile Libdnet Library

Jan 3, 2010

My system is slackware64 13 and I am having problems during compilation of libdnet library. How to compile this program? I compile like this:
Code:
configure --with-python && make
I know this is not slackware related but I want to give it a try...

View 4 Replies View Related

Programming :: Default Library - Static Or Shared?

Aug 27, 2009

My code needs to link to some libraries. In my project file, I specify linker to link to abc library, for example. By default, does gcc link to libabc.a or libabc.so ? What if I really need to specify static or shared, how do I do that?

View 4 Replies View Related

Programming :: Put Header Files For A Shared Library?

Feb 26, 2010

I have written a simple library and ended up with a .so file. I have a header file from writing the code that describes how to use the functions in the source code I have written. I think this .h files needs to be available to other programs that access this code.

I have seen lots of tutorials on how to copy the .so file to the relevant directories and make links with the version number. What I can't find is where to put the header file so that any programs I write to use my new library can access the header.

Hope this makes sense. For example, I might use <stdio.h> normally, I will need to access <mylibrary.h> once mylibrary.so is loaded (as far as I understand!)

It's weird, I've been using C compilers for embedded processors over ten years now and never given a second thought to how libraries and headers work behind the scenes!

View 6 Replies View Related

Slackware :: Alsaequal Cannot Open Shared Library

Feb 17, 2011

I installed alsaequal URL....l and dependencies ladspa-sdk and caps, all via sbopkg.I'm getting this 'cannot open shared library' error even though that file does in fact exist at the indicated location.Has anyone run into this or successfully installed alsaequal? I also tried on a 13.1 install and got the same result.

View 4 Replies View Related

General :: Install Compile And Run Library .a Or .so Files?

Dec 23, 2010

i know how to install software but i don't know

1: how to install library .a or .so files

i: how to install tar.gz i use the method like ./configure. make make install but most of the time i got the message nothing to make .in lots of tar.gz there is no installation document no make file no .configure file that make me quite confused how to install them or run them.now i got sample source code of cuda i got them in tar.gz form when i extract them i found a folder in folder i found folder like c ,doc,shared etc when i open each folder i found more folder n file like that src, doc common ,lib, in these folder i found source code file header files libraries file make files .i don't know how to run this kind of project can the be installed on the system .how to run them they don't have .run file or script they don't have configure file .how to compile them ,how to run them & how to install them

View 1 Replies View Related

Ubuntu Multimedia :: ITunes Shared Library On Kubuntu?

Oct 10, 2010

I'd like to know if it is possible to play shared music library of iTunes on Ubuntu.

View 2 Replies View Related

Security :: Local Glibc Shared Library Exploit

Apr 8, 2010

I've been looking awhile now, but no patch for this is yet to be found. Does anyone have more info, or better, a fix? Last version from GNU's ftp server is also vuln as of this writing.

View 3 Replies View Related

Software :: Trying To Test C Shared Library Made In MATLAB

Jul 13, 2011

I am trying to test a shared library that I made in MATLAB. I'm not an expert, so if you need other info, or if i'm just not making sense I can try to clarify, or provide further info.First off:I'm using MATLAB 2011a, compiling c with the MATLAB compatible gcc-4.3, and all of this is running on 64 bit opensuse 11.3.

1) I've made a c shared library, header, and wrapper.
2) I've set the environment variable.
3) I'm having trouble creating an executable to test my .so with

I've also contacted MATLAB tech support, and they didn't help much. They said the wrapper (libatr2.c) is intended to be a template, and may not actually run my library unless eddited. Perhaps I should edit it to reference something called main? I'm not sure how to do that if that's the case.

View 1 Replies View Related

Programming :: Compile Static Libcurl Library Under Windows ?

Jun 3, 2009

I have been working on this for a long time.

I could get the static libcurl library ( a "libcurl.lib" file and a "curl.h" file), which supposed to be working under Windows.

Yet I tried Visual c++ 6.0 but it wasn't working at all.

Some idea on that ? I don't mind to try MinGW and Dev C++ if it will really work. (Cygwin is not good since it require client to have cygwin.dll in run-time folder).

View 1 Replies View Related

Debian Programming :: Packaging Shared Library With Python Wrapper

Apr 12, 2014

I have written a shared library and successfully used debhelper 9 to create a Debian package from source using a Makefile generated by cmake. I then went about writing a python wrapper to that library and wish to package that wrapper in with the library so I can have a single distributable rather than 2 separate ones.

All of my attempts so far have me placing my python source and a setup.py file in the same directory as the makefile at the time where I call debuild.

From here I have tried a couple different configurations to my debian/rules file as seen below:

Attempt 1:
# -*- makefile -*-
%:
dh $@ --with-python2 --buildsystem=python_distutils

This try seemed to package up the python stuff nicely but proceeded to ignore my makefile for the shared library and therefore ultimately failed.

Attempt 2:
# -*- makefile -*-
%:
dh $@ --with-python2

This try ran make, but completely ignored the python stuff. From some research I have gathered that the --buildsystem flag tells debuild to ignore any makefiles in the directory, which obviously causes a problem in my case.

Another attempt was to modify the build dependency to first run make and then call the python build process that file looked like this

Attempt 3:
# -*- makefile -*-

build:
dh $@
dh $@ --with-python2 --buildsystem=python_distutils
%:
dh $@ --with-python2 --buildsystem=python_distutils

This appears to somewhat work as both processes do build, but a few of the python files are still not getting installed.

Is this the way I should be going about doing this? I've noticed that most python wrappers tend to package themselves individually and then make that package dependent on the library it is attempting to wrap.

View 0 Replies View Related

Ubuntu Multimedia :: Shared Music Library Between Lucid Lynx And XP

Jun 24, 2010

I've decided to make the plunge and switch to linux! Actually, I plan to dualboot Win XP and Ubuntu 10.04. I figure I might as well keep XP for a few games and for syncing my iPod nano with iTunes.I want to set up my computer so that my music library on my windows partition will be accessible to Banshee (or perhaps another program) so that I can listen to my tunes in Linux. However, I want to make it so that Banshee can't actually edit my files/tags (I want to leave iTunes in charge of that). I just want it to be able to play the mp3s and aac's (none of my files are in DRM format luckily). So I guess what I am asking, is can I make my iTunes folder on the Windows partition READ-ONLY to the Linux OS maybe?

View 1 Replies View Related

General :: Build A Shared Library On System Using Same Command Used For Solaris?

Jun 22, 2011

I am able to build a shared library under solaris with
/usr/local/bin/g++ -G -o output.so file1.o file2.o file3.o.
How do I build the shared library under linux using the same files?
I have tried to use the same command /usr/local/bin/g++ -g -o but I got some undefined references, even if those references are defined in one of the object files.

View 3 Replies View Related







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