Software :: LD_LIBRARY_PATH Is Mentioned With The Library Path: /usr/bin/ld: Cannot Find -ljson
Aug 5, 2011
I am using json library for my application. I have mentioned the path where the library resides in the LD_LIBRARY_PATH. while compiling i have given the following commands.
gcc -o pafitest pafi_test_app.o -ljson
but still i am getting this following error.
/usr/bin/ld: cannot find -ljson
collect2: ld returned 1 exit status
View 1 Replies
ADVERTISEMENT
Oct 14, 2010
I recently installed a Slackware-13.1 32 bit system and I encountered an odd problem. I had a texlive-2010 package from slackbuilds.org, previously compiled on another 32 bit Slack-13.1 system. I just installed the precompiled package on the new system. However, whenever I tried to issue a latex command, kpathsea complained that it cannot find the shared library file libkpathsea.so.6. I googled a bit and I found that this could be circumvented by setting the environment variable LD_LIBRARY_PATH to "/usr/share/texmf/lib", where the library in question actually is.
This solved the problem. The weird thing is that on other machines I have installed, kpathsea had no issues whatsoever and I did not have to set the LD_LIBRARY_PATH. The only difference is that on those systems I had compiled and installed texlive, not just installing a precompiled package. Could that be causing the issue?
View 6 Replies
View Related
Jun 3, 2010
I had a situation in which the the path of the file to be copied is written in other file and I had to copy it using shell script..I can use cp $(cat /home/robert/location.txt) /media/sda1 on normal linux shell...But I am using buildroot script where $(cat /home/robert/location.txt) evaluate to nothing..is just blank..
View 1 Replies
View Related
Jul 9, 2009
I am facing the following error while running SplitOff.exe in machine 172.24.130.245 :
Error :
ld.so.1: SplitOff.exe: fatal: libstdc++.so.2.10.0: open failed: No such file or directory.This file is avilabe in ap/local/lib path.
how to include the path of exe in the ld library path [only System admin has permission]
View 10 Replies
View Related
Jun 1, 2010
i'm using slackware 13.0 with glib2-2.18.4-i486-1 and gtk+2-2.14.7-i486-4 i need to install newer gtk+2, i've installed glib-2.25.7, but in my home directory, so how do i configure the gtk+2, so it points to the glib library path in my home directory. i've tried this command
Code:
./configure BASE_DEPENDENCIES_LIBS=/home/sadlie/.testapp/usr/lib
but it still comes with the same error message
Code:
Requested 'glib-2.0 >= 2.23.6' but version of GLib is 2.18.4
Requested 'atk >= 1.29.2' but version of Atk is 1.26.0
View 3 Replies
View Related
Jun 9, 2010
I would like to set run time library path in my makefile, so that my exe should search run time libraries in that path when executed. How to set this in makefile?
View 3 Replies
View Related
Aug 31, 2010
I'm writing an application and want to make possible to compile it with or without an optional module. This module requires perl library to be compiled, so I want to check presence of it in 'autoconf'.
The problem exists because perl library is placed in 'non-standart' location itself (like a /usr/lib64/perl5/CORE/libperl.so). So when I try to run configure (with AC_CHECK_LIB or AC_SEARCH_LIBS), it cannot find and link libperl.so in its test.
Trying to pass ./configure CFLAGS=-L/usr/lib64/perl5/CORE/ or ./configure LDFLAGS=-L/usr/lib64/perl5/CORE/
How can I define a location to search for configure's tests?
View 1 Replies
View Related
Jan 10, 2010
I was wondering if there is an argument I can pass to the configuration file to have it use a library from a non-standard path to compile with - for example I would like it to use my perl located in /scratchbox/users/jeff91/usr/bin/perl instead of the standard /usr/bin/perl
View 3 Replies
View Related
Jan 9, 2011
I'm writing an application with a plugin architecture and would like modify (specifically add to) the dynamic library search path while the main executable is running.
The plugin paths are not known until the application is running so I can't set LD_LIBRARY_PATH ahead of time.
My understanding (although I haven't tested it) is that the executable will only parse the LD_LIBRARY_PATH once, early on, so modifying this environment variable at runtime will have no effect.
(Note - on Windows the solution is to modify the PATH environment variable)
I know it's possible to specify the full path to load a dynamic library, and this would work if the plugin(s) only had a single library to load, but some of them will have a bunch of libraries with their own inter-dependencies, so I'd like the plugin folder(s) to get added to the search path to pick up the dependant libs.
View 8 Replies
View Related
Apr 28, 2010
I'd like to get path of one library to link it dynamically in my program. Probobly the best way would be to add macro to my configure.ac file.
View 2 Replies
View Related
Jul 12, 2011
kernel 2.6.21.5, slackware 12.0
GNU bash 3.1.17
Code:
As you can see, /usr/local/bin is in the path. However, bash does not look for nasm in /usr/local/bin.
If I am root, things go well:
Code:
View 16 Replies
View Related
Jul 28, 2010
I installed Qt SDK for Linux/X11 on my Lucid. But when I try to write a simple program, Qt Creator cannot recognize the c++ headers.
Exact message when I used #include <iostream> : "iostream:No such file or directory".
Seems it cannot find the C++ standard library headers. Also gives a similar error when I try to use the std namespace.
How can I resolve this? From where and how can I give the C++ headers to the Qt Creator.
View 5 Replies
View Related
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
Aug 22, 2011
It is a digital simulation program that works with QUCS which is anelectrical circuit simulator.I can compile it and install it using the normal:
./configure
make
sudo make install
[code]....
View 4 Replies
View Related
Sep 16, 2010
I need to download the following library: rpmlib(PayloadIsLzma) <= 4.4.2-1It seems it's on this site, but the site is having issues or something: [URL]This machine is not connected to the internet nor can it be.I installed the libg2c.so.0 library [URL]and now am having to insatll its dependencies
View 1 Replies
View Related
Mar 10, 2010
I am trying to get a 32-bit executable to run on 64-bit Ubuntu. I had to install multilib, and then when I ran the executable, I got this error:
Code:
./x86/bin/target_base_mac: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
So I installed libxml2, but I still get that same error. The file does exist:
Code:
test@olds:~/simulation$ ls -lrt /usr/lib/libxml2.so.2
lrwxrwxrwx 1 root root 16 2010-03-10 13:05 /usr/lib/libxml2.so.2 -> libxml2.so.2.7.5
View 3 Replies
View Related
Sep 16, 2010
I need to download the following library: rpmlib(PayloadIsLzma) <= 4.4.2-1
It seems it's on this site, but the site is having issues or something: [url]
This machine is not connected to the internet nor can it be.
I installed the libg2c.so.0 library [url] and now am having to insatll its dependencies.
To see links, copy and paste in browser and remove spaces. I don't have 15 posts yet to post links!
View 1 Replies
View Related
Oct 5, 2009
I cannot find the C library manual pages on fedora 11. Are info pages the same as man pages?
or how can I install man pages so that I can use man 3 malloc?
View 8 Replies
View Related
Nov 24, 2010
Is there a way to find out with what options a library was configured with when it was installed? I am trying to install a library on my system that depends on gasnet and it requires me to configure it with the very same options that gasnet was configured with. Gasnet was not originally installed by me, so I cannot tell. I can see bin/, include/, lib/ and share/ directories in the gasnet folder and no other information in it. To be specific, I need to use the same CFLAGS that were used during installation of gasnet. For example, if it was installed using '-g -O2', I have to make sure I use the same CFLAGS here.
View 4 Replies
View Related
Dec 13, 2010
I am using Slackware 13.1 with the uname -a output:
Quote:
Linux darkstar 2.6.33.4 #2 Thu May 13 00:27:45 CDT 2010 i686 Intel(R) Atom(TM) CPU N450 @ 1.66GHz GenuineIntel GNU/Linux
When the binary smbpasswd is executed it gives the following output
Quote:
smbpasswd: error while loading shared libraries: libwbclient.so.0: cannot open shared object file: no such file or directory ldd /usr/local/samba/bin/smbpasswd has this output
Quote:
linux-gate.so.1 => (0xffffe000)
libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0xb7220000)
liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0xb7214000)
libresolv.so.2 => /lib/libresolv.so.2 (0xb71fd000)
[code]....
I do not know how to direct the binary to the missing library.
View 7 Replies
View Related
Mar 24, 2009
can anyone provide me with the path where i can find the library files. stdio.h, sys/types.h.......
View 4 Replies
View Related
May 20, 2011
On Unix I can call certain programs from everywhere, like sort, pwd or my_custom_script.sh. How can I find out, where on the system my_custom_script.sh really resides?
View 2 Replies
View Related
Sep 24, 2010
I am trying to install Staden on a Ubuntu 10.04 machine (64bit). It requires a number of dependencies to be installed prior to configuring the source. I was fortunate to find all of them using the synaptic package manager. now for the configure command I need to specify where these dependencies are as options.
how do I find the programs that I need to reference as options to the configure command such as: tcl, tk, zlib, xz utils, libpng, curl, tklib, itcl, itk, etc. Is there a standard directory that synaptic uses or what?
View 7 Replies
View Related
May 5, 2010
I'm using bash scripting to find any file that matches a path governed by the following regular expression:
"(monthly|nightly).[0-9]+/home/(user1|user2)/.mailbox/"
to match files like:
monthly.9/home/user1/.mailbox/l23131564
nightly.15/home/user2/.mailbox/cur/6546213
I've tried:
Code:
myRegex="(monthly|nightly).[0-9]+/home/(user1|user2)/.mailbox/"
find ./ -regextype posix-egrep -regex $myRegex
and it just spins and never gives me an answer, even though the file structure isn't that big.
View 8 Replies
View Related
Feb 10, 2011
I am trying desperatly to install boxee onto my pc Boxee - Watch Movies, TV Shows and clips from the Internet on your TV.without success.I have downloaded the source code from the site and have ran
./bootstrap
./configure
The ./configure last few lines =
checking for boost/shared_ptr.hpp... yes
checking for main in -lGL... no
configure: error: Could not find a required library. Please see the README for your platform.
I'm not sure what this lGL is referring to. The readme states that I need the below to run the configure, though that doesn't say lGL either?
Build-Depends: debhelper (>= 7.0.50), quilt, python-support, cmake,
autotools-dev, autoconf, automake, unzip, libboost-dev,
libgl1-mesa-dev | libgl-dev, libglu-dev, libglew-dev, libmad0-dev, libjpeg-dev,
libsamplerate-dev, libogg-dev, libvorbis-dev, libfreetype6-dev,
libfontconfig-dev, libbz2-dev, libfribidi-dev, libsqlite3-dev,
code....
View 1 Replies
View Related
Sep 16, 2010
I am trying to run i386 in gcc_test-suite using dejagnu runtest and it fails with error given below. I can see that gcc-dg.exp is in folder gcc-4.6-20100911/gcc/testsuite/lib, but runtest is not searching in this folder.
how to resolve this issue and run only i386 tests.
$ cd /gcc-4.6-20100911/gcc/testsuite/gcc.target
$ runtest -a -tool i386 -verbose
....
....
Looking for library file /usr/local/share/dejagnu/lib/gcc-dg.exp
[Code].....
View 6 Replies
View Related
Feb 26, 2009
Where do i found source code of c library files in ubuntu.
View 2 Replies
View Related
Oct 2, 2010
I installed the version of ClamAV that is provided by OpenSuse. The problem with that is that when a new version of ClamAV shows up I constantly get complaints when I run both freshclam and clamscan for at least three weeks when my version of ClamAV supplied by OpenSuse goes out of date. So I uninstalled the clamav OpenSuse provides using the GUI software control panel. Then I downloaded the source and the signature from ClamAV. It verified. I first tried to do a ./configure (as root) but it said I needed a clamav user. So I created:
Group: clamav (2001)
User: clamav (2001)
I picked the UID / GID to be that to avoid collisions with what ever you may have. After that the configure, make and install went fine. I then edited both the clamd.conf file and freshclam.conf files in /usr/local/etc. There was a bit of path confusion problem with the old freshclam and the new one so I did a ^D in my su'd xterm, and then su'd again. This time it showed the following for where things are:
[Code]....
View 3 Replies
View Related
Feb 11, 2010
I already have LD_LIBRARY_PATH setup in my /etc/profile as:
Code:
export LD_LIBRARY_PATH=/usr/local/lib
Now there is a request to add a new entry for LD_LIBRARY_PATH.
[code].....
View 2 Replies
View Related
Apr 13, 2011
I can't store LD_LIBRARY_PATH in /etc/profile. After restart the variable is empty. All OK with any other variable, for example INFORMIXDIR, but not with LD_LIBRARY_PATH. If I use EXPORT command in the console all OK. I'm using Ubuntu 10.04. What's wrong?
View 13 Replies
View Related