General :: Add <install_dir>/lib To LD_LIBRARY_PATH If Already Entry Is There?
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
ADVERTISEMENT
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
Jun 16, 2010
This is related to http://superuser.com/questions/27376/why-does-my-ld-library-path-get-unset-launching-terminal, but a different set of symptoms.First, /usr/bin/screen is setuid as per the other question. Second, the default shell on this system is /bin/tcsh for various historical reasons, and we're not allowed to chsh to /bin/bash, so I typically run bash manually immediately after login. Third, I almost always use screen, but I want ctrl-a ctrl-c in screen to create a new bash "tab", so I always invoke bash first.
That is:
{~} $ echo $SHELL
/bin/tcsh
[code].....
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
Mar 23, 2009
I am using Firefox 1.5.0.9 in RHEL 5.0. I have a application which needs to load some jar files to the firefox browser, for which I am adding the path in LD_LIBRARY_PATH in ~/.bashrc.The issue is when I launch the firefox through a shortcut, the LD_LIBRARY_PATH is unset, and it just sets it to Firefox specific libs.Additionaly if I run firefox through command line it sets it perfectly fine, and appends the Firefox libs to the already set LD_LIBRARY_PATH.
View 1 Replies
View Related
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
View Related
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
Sep 13, 2011
I mount a device mount /dev/xvdf /mnt/mongo and verify the mount using df-h:
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 7.9G 955M 6.9G 12% /
tmpfs 299M 44K 299M 1% /dev/shm
/dev/xvdf 20G 589M 19G 4% /mnt/mongo
But now I'm trying to figure out how to make it auto mount on boot. I understand I need to add a new entry to /etc/fstab, so I perform: $ sed -i '$ a/dev/xvdf /mnt/mongo xfs defaults 1 1' /etc/fstab But, after reboot, it seems that the auto mount didn't work. The device didn't appear in the df -h list.
View 2 Replies
View Related
Apr 19, 2010
i think i have found a bug in the unix ACL permissions. I tested this problem in the Ubuntu 9.10 and in SLES 10 and 11, all of them with setfacl 2.2.47.
Well, I have done the following test:
1) Create a folder and set some named user, and set the same ACL entry for the Default ACL, like the following example:
Code:
mkdir dir1
setfacl -m u:rodrigo:rwx dir1/
setfacl -d -m u:rodrigo:rwx dir1/
getfacl dir1/
# file: dir1/
[Code].....
Note that some permissions are different from the ones in the Default ACL in the dir1/
why the file1's permissions are diferrent from the dir1's default ACL entries? Is this a bug?
View 1 Replies
View Related
Aug 9, 2011
I am using a windriver Linux. I have built the I2c-core, i2c-i801 and i2c-dev drivers and they are getting inserted while booting. After boot up, there are sysfs entries in /sys/class/i2c-dev/i2c-0 and /sys/bus/i2c/i2c-0. But there is no entry in /dev. In dmesg, it shows a line:
Quote:
i2c /dev entries driver. But it does not creates any entry in /dev.
View 1 Replies
View Related
Oct 14, 2010
I have a requirement that a job run at a particular time every other Friday. I was wondering if I can configure cron to do this - perhaps using the /step feature? For example, can I do the following?
0 21 * * 5/2 /my/command
If this works, how does it decide when to begin skipping? In other words, where is the first Friday? Is it the first Friday of the Year? of the Month? I would just try it, but it would be an awful long time to wait to see whether or not it is working.
View 1 Replies
View Related
Jun 8, 2010
I have two ide hard disks. One with windows and other with ubuntu 10.04. i want both windows and ubuntu in grub menu so what should i do ?
View 3 Replies
View Related
Jul 20, 2011
I have Recently downloaded Fedora 15.|64bit| & I Think its a very good distro. However I Realised Once My Pc Restarted My Windows 7 Was Removed from my boot entry. I am Not At All familar with Linux, Ive Read millions of forums trying to fix my problem but all has failed.Could someone show me how to add The OS Back or How To Burn A Bootable OS (Win7) Using This Distro Of Linux.
View 10 Replies
View Related
Jun 15, 2010
For some time I have been using Clonezilla to backup/restore linux installations. I would like - instead to USB-key that is always not to be found, to somehow "move" the clonezilla (on a USB stick). What I have tried to is to make a separate partition to install this on, copied all the files on the USB -key to that partition, and then make a new entry in GRUB via yast. Then I point to the new wmlinus and initramfs. I would have been much surprised if something link this was working after first shot. But it was also not working after the 80. shot.
View 3 Replies
View Related
Apr 24, 2010
I have a file of the formcol1, col2, $330,000, col4 ...col1, col2, col3, col4 ..col1, col2, $230,000, col4 ...The comma within the currency value causes the column to display unevenly when I open it so I want to remove it. I think I should be able to use the sed command but I am not sure extactly how. All the values have 3 digits after the $ and before the , so have triedsed -e 's/$[0-9]*,/ but I am not sure how to 'replaced with the string found just without the comma'So two guestions:1. Is this a good way to do it?2. How do I do it
View 8 Replies
View Related
Apr 1, 2011
I have the following error on one of my servers. Is there a way to tell which directory is exactly having the problem? if there is, if i delete that directory, will that resolve the problem or no?kernel: EXT2-fs error (device md(9,0)): ext2_check_page: bad entry in directory #10158084: unaligned directory entry - offset=0, inode=605471640, rec_len=7606, name_len=177
View 4 Replies
View Related
Jun 17, 2011
I have looked at the GNU GRUB Manual 1.99 at [URL] but I cannot find an explanation of what the kernel entry / command in the grub.conf file means. I get what's the meaning of that entry but where is described what it actually is and what are proper.
I suppose this entry / command was actual in GRUB Legacy, but I cannot find where it is described...
View 1 Replies
View Related
Apr 20, 2010
I wish to allow a user to use sudo to run a single command (service app status) to determine if my application app is running, in my sudoers file i have: user ALL= /sbin/service app status I understand that there is a parameter called timestamp_timeout that will set the timeout for the 'user', but requires at least 1 entry of the root password.
I wish to allow the user to do "sudo service app status" and not have to enter the root password ever(maybe once is ok), but still make the user enter the root password for all other root activities. Is there a way to prevent the password entry for this command only and no others?
View 3 Replies
View Related
Mar 2, 2011
i installed opensuse 11.3 on sda6 and linux mint 10 on sda8
currently the grub2 appears at start of system and there is no entry for opensuse 11.3
i didn't installed the grub bootloader at time of opensuse installation as then i would be having grub and grub2 both
please tell how to insert the entry of opensuse in grub 2 ?
i want to know which files are to be edited and what has to be inserted to accomplish this task ?
View 2 Replies
View Related
Jun 30, 2010
Is there any software I can use in the Gnome desktop environment on Ubuntu Linux 10.04 that alerts me of a new entry in one of my subscribed feeds, via something visual like a popup, glowing, etc.
View 1 Replies
View Related
May 5, 2010
The *.dbf files (DBase III Plus files) have a header (metadata) and follow with n fixed records. I'd like to make a directory entry (like a symbolic link) that point to the fixed record area into a .dbf file. Is it possible in linux? The request is motivated by access a .dbf file from a Firebird SQL Database using CREATE TABLE EXTERNAL FILE '/tmp/mydbf.dbf' ( ... ); but this command only works on fixed records.
View 1 Replies
View Related
Jan 22, 2011
3.What /etc/exports entry would export a directory named /nfs to all clients on the subnet 192.168.10.0 and give them read-only access?
View 3 Replies
View Related
Jul 22, 2010
When I installed openSUSE 11.3 I already had Ubuntu 10.04 installed and I installed these 2 OS's side by side but openSUSE didn't seem to add a Ubuntu menu entry in GRUB boot list So now I can only boot into openSUSE 11.3 and not Ubuntu 10.04. How can I fix this?I found in YaST an option to add extra boot menu entries but i don't know how to use it... or maybe there's also another way i can add Ubuntu entry to my GRUB boot menu?
View 14 Replies
View Related
Feb 3, 2010
How can I add a menu entry when I right click my mouse system wide?
View 2 Replies
View Related
Apr 12, 2011
When adding snbpasswd it returns "failed to find entry for user root",who knows why?
View 1 Replies
View Related
May 15, 2010
[Code]....
Password: su: /bin/bash:/sbin: No such file or directory i cannot delete that entry from /etc/passwd as i cannot login as root.
View 11 Replies
View Related
Jun 23, 2011
is it possible disabling a crontab job without deleting the crontab description entry (by crontab -e)?I could also accept to change the entry itself. Now it's:0 0 * * 0-6 /home/me/cron/script.csh
View 4 Replies
View Related
Mar 19, 2010
I just installed archlinux to try it out and need to add the entry to Grub.
I formated the hard drive with the a root partition for arch of 42Gb and ubuntu can see it perfeclty.
When I was installing arch I made a mistake and installed grub again, overwriting my previous grub with my ubuntu and windows entries.
So I fixed and got my working grub back with SuperGrubDisk, but now I want to add the ARCHLINUX entry to Grub and dont know how. I have added the previous entries from the grub that ARCH installed and moved the initrd and vmlinuz files to the /boot directory on ubuntu, but it doesnt work. I did a similar thing with Acronis True Image rescue cds(to avoid having to insert the cd in order to use it) and it worked like a charm, but I am lost in this one.
Here are my partitions, sdb is the one where all my partitions and files are (sdb5 is where ARCH is), the other 2 are backups:
Quote:
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xda85214c
[Code]....
View 4 Replies
View Related
Jan 8, 2011
When I click on the "shutdown, logout, suspend etc."-button in the upper right corner there is no option to hibernate my machine. I've got suspend, reboot and shut down, but no hibernate. What would be the reason for this?
If it should tell anyone anything, my computer is a Packard Bell TJ71 laptop with the following lspci output:
Code:
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge Alternate
00:01.0 PCI bridge: Acer Incorporated [ALI] Device 9602
00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0)
[Code]....
View 8 Replies
View Related
May 27, 2011
I was trying to find documentation on how to add an a new object into openldap, however I can not seam to find a good walk through.
Just so everyone knows what I'm trying to do, I need to add a new object called bannerid, this bannerid is a unique id that will help me find student accounts in my openldap directly much quicker.
View 2 Replies
View Related