Software :: How To Force Required 32bit Library On Spec File?
Apr 8, 2010
is there a way to specify that I need a 32bit version of a certain library on the "Requires" line of a SPEC file?Since my software contain (a lot of) binaries from other sources (not always RPM compatible) I had to do "AutoReqProv: No" so I can do it manually.Is there a way to explicid say that I need the 32bit version of some library?
View 1 Replies
ADVERTISEMENT
Aug 12, 2011
I'm trying to upgrade to Firefox 5 on RHEL5, and am getting the following error:
./firefox-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/isdtc/tdiakiw/bin/firefox5/firefox/libxul.so)
As the computer is a work machine,I don't have access to update the libraries directly. To try and get around this I downloaded the libstdc++.so.6.0.10 library.strings libstdc++.so.6.0.10 | grep GLIBCXX shows:
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2[code]....
Is there some way of forcing firefox to use this library instead? I have tried adding the directory containing the new library (with a so name) to LD_LIBRARY_PATH and then running, but I'm still getting the same error message
./firefox
+ moz_libdir=/usr/local/lib/firefox-5.0.1
+ found=0
View 1 Replies
View Related
Sep 2, 2009
I have an application with a complex binary build procedure which links against 30+ application library archives and an array of system library archives. The problem I'm having is the link ordering. Is there a way to tell the g++ linker to keep searching the libraries for unresolved references, regardless of order, instead of rearranging the order the archives are listed on the command line for a one-time-pass? I'm using g++ 3.2.3 on a Linux AS v3update6 machine.
View 1 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
Mar 31, 2010
I need to create a test setup in my lab that will run power supplies for an indefinite amount of time. It could be anywhere from days to months at a time. This rules out matlab, as its memory leaks won't let it run that long, and LabView is too buggy (at least in my experience. and it has memory leaks as well). So I need a way to program GPIB (since that is the interface these power supplies have). So far, PyVISA seems to be the most likely way to be able to do this.
However, I keep receiving the following error:
Code:
pyvisa.visa_exceptions.VisaIOError: VI_ERROR_LIBRARY_NFOUND: A code library required by VISA could not be located or loaded.
Searching around, this apparently means that I'm missing GPIB drivers, but I'm not.
linux-gpib installed, and the card appears in /dev.
That being said, every now and then the gpib interfaces simply disappear from /dev,and the only way I can get them back is to reinstall linux-gpib. Also, has anybody else succeeded in working with GPIB outside of LabView and Matlab, and if so how? I'm also open to other options, having made no progress on this after over a week. The two real requirements is that I need programming interface to be scpi commands, and I would prefer to code in python or C/C++.
View 5 Replies
View Related
Jan 10, 2009
I want to change some thing inside the post install script of an existing rpm.there is any way to create a nearest spec file of this rpm, in order to change a bit the post install script inside this spec and then create again the rpm with the fixed spec file? no body wrote any program that can create spec file(99% identical from the orig spec file?)?
View 4 Replies
View Related
Jun 29, 2011
I found that "autospec" can construct a spec file. But autospec-0.8-1 is not compatible with python 2.7.1 Moreover autospec seems to be considered as deprecated. Is there a more recent version or some other equivalent utility?
View 3 Replies
View Related
Feb 23, 2011
is it possible to write ksh script in the spec file? the target is after I perform rpm -i my_rpm.rpm according to the spec file , ksh script will do some installation & configuration for example run other script and edit some files
View 5 Replies
View Related
Dec 8, 2008
I'm trying to create a set of rpm files to install the requirements for a program.I found a great utility named cpanspec that will create a spec file for perl modules and have started building rpm files. I was able to create an rpm file for Business::CreditCard as a regular user. Now I'm trying to build another module that requires B::CC, and rpmbuild -ba fails saying that I am missing B::CC. I don't want to install it just to create another rpm file.Is there a way to make rpmbuild "think" that B::CC is installed in the build environment without installing it on the system?
View 1 Replies
View Related
May 5, 2010
I have written a spec file for packaging my application in an rpm, but it reports a conflict when I am trying to update my service script in /etc/init.d/. This is a file that I do need to update/replace so how might I force the rpm to do that?
Code:
Summary: A program that increases WAN performance.
Name: packetsqueezer
Version: 0.3.05
Release: 1
[code]...
View 3 Replies
View Related
Mar 9, 2011
I have inherited our Linux packaging and as the number of versions increase, the number of conflicts is starting to get a bit unmanageable. I believe the easiest way would have been to keep the package names the same and just change the release in the spec file but unfortunately I am past that as a lot of these packages are rolled out to our estate. (I am told there were reasons for not keeping the package name the same and incrementing the version/release)
Is it possible to wildcard conflicts so I don't need to keep adding as new versions are created. For example, instead of using all the conflicts below, have something along the lines of AAtest45* <= 1.4 & BBtest45* <= 1.4 Meaning that all I would need to do was change this to 1.5 at the next release (the packages below version matched the release in the spec file)
[Code]....
View 2 Replies
View Related
Jun 18, 2010
I need to install libssh2 on my CentOS 32bit server to get ssh2 extension of PHP working, after installation of this rpm, I still can't run "pecl install ssh2-beta" because it give me this error: configure: error: The required libssh2 library was not found. You can obtain that package from [URL] ERROR: `/tmp/tmp2ImZz1/ssh2-0.11.0/configure --with-ssh2=/usr' failed
View 1 Replies
View Related
Sep 17, 2010
I am working with Ubuntu 10.04 I can't print documents on HP Laserjet 1020 While printing, the jobs shows up in the print queue and disappears without any error, but no printout I tried to install HPLIP 3.10.6 from [URL]I followed the instructions but it ends with the error
Code:
INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
warning: There are 5 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
[code]....
View 9 Replies
View Related
Nov 29, 2010
i want to compile the vanilla kernel 2.6.37-rc3, but i want to obtain a .rpm file. I found this guide long time ago (i used it many times) but it use src.rpm package and the contained kernel.spec file have many lines for adding patches. Someone know where can i download a kernel.spec for vanilla kernel or a guide to obtain an rpm file
View 4 Replies
View Related
Oct 13, 2010
In my rpm I need gdbm 32b.when installing on RHEL x86_64 the Reqires section passes with no error since gdbm 64b was found.I need to distinguish between gdbm 64b to gdbm 32b in my spec file.In my spec I use the following :Requires: gdbm = 1.8.0
View 1 Replies
View Related
Dec 19, 2010
You may know the Humble Indie Pack 2, which is a set of crossplatform indie video games. There's one game in the bundle that doesn't offer a 64bit build and therefore it fails to load. It's called Braid and that's what you get when you try to run it: $ ./braid ./braid: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
Of course the 64bit libs for OpenGL and the propitiatory nvidia drivers are installed, but the game asks for the 32bit ones, at least to my understanding. I do know that why can install 32bit libraries on a 64 bit linux system (we do that for the sake of crappy Adobe Flash), but I don't know where to find these libs (searching the repo with keywords like .i586 or ia32 led me nowhere).
View 2 Replies
View Related
Nov 26, 2010
this is my output when I try to compile samba 4.0.0 alpha 7 in Ubuntu using the spec file provided in the samba packages:
bin/mergedobj/samba-util.o: In function `file_lines_parse':
(.text+0x595c): undefined reference to `_talloc_steal'
bin/mergedobj/samba-util.o: In function `data_blob_talloc_named':[code]....
View 1 Replies
View Related
Jan 5, 2010
Ok i'm runnign ubuntu using the live CD i already have ubuntu installed on my computer but it wont boot. I'm trying to delete the file causing the problem. SO is there a way to delete a file that is in the ubuntu installed on my computer from the ubuntu on the livecd?if that doesnt make sense how can i delete a file in my ubuntu w/o actually being in ubuntu?
View 7 Replies
View Related
Aug 14, 2011
Trying to install Freetuxtv and cannot find required file libvlc-dev
View 3 Replies
View Related
May 6, 2010
I'm trying out 10.04 LTS 64-bit from the live CD and when I try to play a MP3 or WAV file it gets the usual Search for suitable plugin? "The required software to play this file is not installed. You need to install suitable plugins to play media files. Do you want to search for a plugin that supports the selected file? The search will also include software which is not officially supported." Error message so I click Search and it comes up with the error No packages with the requested plugins found.
Is this because it is in Live Mode and installing 10.04 to my hard drive will fix it or does Ubuntu no longer support audio files other then ogg and other open source audio / video file formats due to copyright problems?
View 1 Replies
View Related
Feb 6, 2011
How to make a directory or files created in a directory by anyone be assigned a specific group name?
View 6 Replies
View Related
Apr 18, 2011
I am playing with my LAMP server1. why can i access a php file on the server only by typing http://serverip/file with no .php extension on?2. later i tryed to play with .htaccess, but when i uploaded it to the server it just disappeared, why is that
View 4 Replies
View Related
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
Nov 9, 2010
When I run a script with nohup, the output is forced to the out.log file by default; is there a way to force the output to the screen instead of the file? I need to be able to see when my script gives me a "process started" message, and I don't want to clog up the system with log files.
View 2 Replies
View Related
Oct 18, 2010
I was having a discussion with someone who asked me whether a Linux OS has to be rebooted when the hosts file is modified. From personal experience, on Windows I change the file but don't reboot and I've seen others do the same thing. I assume Linux has no exception(s), but is there any reason why a reboot is not required (to at least justify my actions)?
View 2 Replies
View Related
Aug 4, 2011
./configure script fails to configure libsf. Please check the following last few lines of configure script error.
But find command shows the following;
It seems the file libdb does exist. man dbopen displays man page for dbopen. I also tried to ln -s /usr/lib/libdb.a and libdb.so /lib dir but all were in vain.
View 6 Replies
View Related
Nov 26, 2010
Is there anyway to force gedit to be aware of changes made to file permissions? The thing is, sometimes I open a readonly file and I just go back to the terminal and set write permissions on that file, but I have to close and open the file again so that gedit saves it. Is there anyway we can make gedit aware of changes to file permissions?
View 2 Replies
View Related
Sep 5, 2010
I am trying to install gnome-libs package as prereq to install Oracle 10.2 on Red Hat 5. It requires libpng.so.2 while I have libpng.so.3 installed on my system. I tried to do a link: ln -s /usr/lib/libpng.so.3 /usr/lib/libpng.so.2, then run /sbin/ldconfig and rebbot as well but it continues to ask for this library.
View 5 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
May 8, 2010
I have 3 files: main.c, mylib.h, mylib.c Now I want to put mylib.h into : /usr/include/mydir/mylib.h And I create a static library: libmylib.a, and put into the folder: /usr/lib/mydir/libmylib.a Then I compile: $ gcc -o main main.c Then I got linking error
Code:
main.c:(.text+0x3e): undefined reference to `extract_v1'
main.c:(.text+0x7b): undefined reference to `modify_v1'
collect2: ld returned 1 exit status
So I try with -l options: $ gcc -o main main.c -lmylib I still got error
Code:
/usr/bin/ld: cannot find -lmylib
collect2: ld returned 1 exit status
Any idea about this?
Also, I want to ask about: how to create my own header and library to put into /usr/include/mylib/ and /usr/lib/mylib/, so when I use function in my program, the compiler will automatically link to library. It's like when you #include <stdio.h>, and you compile: $ gcc -o program program.c, you don't need to specify any linking folder or library.
View 4 Replies
View Related