Questions tagged [libraries]

82 questions
1
vote
1 answer

Organize code in Chef: libraries, classes and resources

I am new to both Chef and Ruby and I am implementing some scripts to learn them. Now I am facing the problem of how to organize my code: I have created a class in the library directory and I have used a custom namespace to maintain order. This is a…
ColOfAbRiX
  • 980
  • 2
  • 11
  • 22
1
vote
1 answer

Replacing a Freeradius library

I have a freeradius 2.0.4 server i want to update.it has been running without interruption for 2 years. My update consists only in updating the chap module without creating a new one. To avoid discontinuity of service and be sure that all configs…
yco
  • 113
  • 2
1
vote
2 answers

How to find any file that is an executable or library

Let's say someone provides you with a tarball, saying it is source code and nothing else. You want to make sure that is true, and that no virus-laden executables or libraries are tucked away in a directory. How to use the find command to do…
Asker
  • 41
  • 1
  • 3
1
vote
2 answers

Need to install just libswresample.so.0 on Centos 6 - how? (for FFMPEG)

I'm trying to get ffmpeg running on a Centos 6 machine and it has been uphill the whole way. I thought I had got it but when I go to use ffmpeg I get the error: ffmpeg: error while loading shared libraries: libswresample.so.0: cannot open shared…
sprise
  • 113
  • 4
1
vote
2 answers

Possible to install a 3rd party RPM locally? So as not to interfere with the system RPM?

This is a CentOS 5 system, x64, using yum/rpm for package management. The libxml2 is a bit dated, and the Perl XML library I'd like to install (from CPAN) requires a more up-to-date version of the C libxml2 library. Now I could download the source…
Lumi
  • 177
  • 2
  • 8
1
vote
3 answers

Screwed libmysqlclient-dev in Ubuntu

I have messed with symlinks and libraries in /usr/lib. I modified libraries like libmysql*. someone suggested to reinstall libmysqlclient-dev package. Is libmysqlclient-dev holding Mysql libraries? How can I force the re-installation of…
rtacconi
  • 735
  • 3
  • 14
  • 28
1
vote
1 answer

Fixing problems with yum, urllib2, and missing dependencies?

I've been trying to resolve the following problem with yum / python's urllib2: [root@...]# yum Traceback (most recent call last): File "/usr/bin/yum", line 4, in ? import yum File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 51,…
Rob
  • 262
  • 3
  • 8
  • 23
1
vote
1 answer

How is my VPS/server effected when many libraries are installed?

I always feel anxious when installing new libraries to my server. Are are any other implications then little less free hard drive space? Theoretically, apt-get install ... should not effect the performance anyhow, right? Thanks
Mikulas Dite
  • 298
  • 3
  • 11
1
vote
2 answers

A basic question with yum

I am trying to edit the source of a package and make it work. Thus, I didnt use yum install, I installed it from source and it is working. The package im building from source is libvirt. Now I want to install libvirt-python. I used yum install…
sethu
  • 371
  • 2
  • 16
1
vote
1 answer

Where to set path for servlet libraries in Tomcat?

I am trying to follow some good-practice methods and not place the servlet jars into the java install. Instead what I am hoping to do is figure out the correct way to point to the servlet jars. If my tomcat jars are in /urs/local/tomcat/lib - how…
Genadinik
  • 1,083
  • 4
  • 18
  • 38
1
vote
6 answers

Cannot install mercurial properly - PYTHONPATH error

I have a server running on Ubuntu 10.04 on which I wanted to install Mercurial via % sudo apt-get install mercurial It seems to have installed successfully and doesn't show me any error messages. But when I try it I get: % hg abort: couldn't find…
florianbaethge
  • 225
  • 1
  • 3
  • 8
1
vote
1 answer

Disable public folders via Group Policy

I would like to disable all "Public Folders" from users' Windows 7 libraries using a group policy. How would I go about implementing this?
muncherelli
  • 719
  • 1
  • 4
  • 22
1
vote
1 answer

Segmentation fault on most binaries without file /etc/ld.so.nohwcap

I've got a box which was partially updated to Debian Lenny. It throws Segmentation fault on even simple commands like ls. When I added file /etc/ld.so.nohwcap I was able to upgrade and run machine. Now I'd like to remove this file, but when I do…
artvolk
  • 309
  • 2
  • 10
1
vote
3 answers

Which shared library requires another shared library?

I have my own executable that I link to a particular version of Xerces. It also uses a bunch of other libraries, some of them not my own. When I run ldd on that executable, I see that it needs the Xerces version that I expect it to need, plus…
Arkadiy
  • 208
  • 1
  • 8
1
vote
2 answers

Problem linking to shared libraries

I've got a problem linking to shared libraries. Specifically this is a nodejs module linking to libmemcached, but I'm guessing the problem is more generic than that. The file it cannot find/open is present, and everything is operating under…
user27422
  • 135
  • 1
  • 7