General :: Ldconfig Deletes The Link That Create Using Ln -s In /usr/lib?

Nov 9, 2009

I created a link for a library my application needs in /usr/lib/ and then run ldconfig.
The link gets deleted. Should I be creating the link in any other way?

View 1 Replies


ADVERTISEMENT

OpenSUSE :: Zypper Error: Additional Rpm Output: /sbin/ldconfig: /usr/lib/ Is Not A Symbolic Link

May 5, 2011

"/sbin/ldconfig: /usr/lib/ is not a symbolic link"
zypper in <packages>
Retrieving package ..
Retrieving: ..
Installing: ..

Additional rpm output:

/sbin/ldconfig: /usr/lib/ is not a symbolic link

I get this error installing any package

View 4 Replies View Related

Server :: Create Soft Link And Hard Link In RHEL5?

Sep 8, 2010

how can we create soft link and hard link in RHEL5 when am using in command it is giving format error

View 6 Replies View Related

General :: Create A Symbolic Link In An Other Directory?

Sep 14, 2011

There are two directories A and B and a file F which is located in B. The working directory is B.How can you create a symbolic link in A pointing to F in B without changing the directory?

View 2 Replies View Related

General :: To Create A Link For A Directory Across Host?

Mar 11, 2010

i am a oracle DBAI want to crete a link for a directory in production serverto remote host.

View 6 Replies View Related

General :: How To Create A Symbolic Link In An Other Directory

Jan 27, 2010

There are two directories A and B and a file F which is located in B. The working directory is B.How can you create a symbolic link in A pointing to F in B without changing the directory?

View 8 Replies View Related

General :: Create A Symbolic Link To A Windows Directory?

Aug 9, 2009

I am running both Ubuntu and XP and have a local server for my computer on both systems. Both partitions have a www directory that is accessed when I type localhost into my browser.

I want to be able to work on the project in both systems and have the changes I make show in both. So my questions is how can I make "localhost" point to the windows www instead of the /var/www one when I start up the server?

View 2 Replies View Related

General :: Create Link To Executable In Parent Directory

Jun 27, 2011

Create the following directories: parent/child
Navigate to child and create a file named child (this is an executable file in my case, not sure if that makes a difference). I need to create two "link to executable" links in the parent.

I had assumed that this would work:
ln -sf ./child ../child1
ln -sf ./child ../child2

But that creates a "link to folder" (./child) in the parent directory. If I change it to:
ln -sf -t.. ./child child1
ln -sf -t.. ./child child2
I get an error, "ln: '../child': cannot overwrite directory".

If I do it from the parent directory (which I cannot do, this is part of a Makefile recipe):
ln -sf ./child/child ./child1
ln -sf ./child/child ./child2

It works. Note that I cannot alter the names of any directories or files. How do I create the links when the current directory is the child?

View 1 Replies View Related

General :: Possible To Create A Symbolic Link That Include Commands For Program?

Feb 11, 2010

Is it possible to create a symbolic link that include commands for the program?

For instance, I do the following to start the program:

./script -somecommannd

I would like to create a symbolic like that includes "-somecommand"

Is this possible? or would I need to create a second script that executes that command, and link to that script?

View 4 Replies View Related

General :: Windows 7 - Create A Symbolic Link From An Ext Partition To A FAT32 Partition

May 15, 2011

On my Linux system, I want to create a symbolic link to a folder on my Windows 7 partition formatted FAT32. I use:

sudo ln -s /media/OS/Users/dennis/AppData/Roaming/.minecraft ~/.minecraft

However, I end up with a file in my home directory called .minecraft and when I try to access it, I receive:

bash: CD: .minecraft: Too many levels of symbolic links

is there a way to make the symbolic link to the FAT32 folder?

View 2 Replies View Related

General :: Find Directory With Frequent Writes And / Or Deletes?

Jun 20, 2011

Is there a way under linux to find out directory with frequent writes and/or deletes?

I'm using Ubuntu and recently bought SSD. I moved /tmp to ramdisk and did some other tweaks to avoid wear. But I was wondering if there's a way to pinpoint hotspots in filesystem where files are often written. For example webserver's log directory with many appends every minute or user's download directory where he downloads gigabytes of stuff only to be moved elsewhere soon after finishing.

I came across inotify which could probably do the trick but it seems it'd require lot of scripting which I'm not very familiar with

View 4 Replies View Related

General :: View CD Shortcut Link / List Link Name By Using Any Command?

Jun 8, 2010

Whenever we insert CD,it creates a shortcut link in desktop.Can we list this link name by using any command? I am using Oracle Enterprise Linux 5.0.

View 10 Replies View Related

Debian Configuration :: Ldconfig Gone / Repair This?

Feb 1, 2010

Idconfig is gone, on ower Debian Etch server
Does anyone how to repair this

View 2 Replies View Related

General :: Whenever Execute The Below Scriptlet With Out Proper File Name It Deletes /tmp Directory?

Jul 22, 2010

Whenever execute the below scriptlet with out proper file name it deletes /tmp directory .I guess this is because value of variable a didnt get initialized and there for rm -rf /tmp/ get executed and entire /tmp directory get deleted.How would i avoid any empty variables to be used in script? as this is a classic case of destructive script.

Code:
#!/bin/bash
echo "Enter file to delete from tmp"

[code]....

View 8 Replies View Related

General :: Difference Between A Hard Link And Symbolic Link?

Jun 20, 2011

I have searched around and am trying to understand the difference between a hard link and symbolic link (soft link). I found this link is quite useful. But I am still not very clear. I understand soft link is not a copy of original file, but is a hard link a copy or not?

View 4 Replies View Related

Debian Multimedia :: Create Link To Application In Kde

Jul 31, 2015

I installed debian 8.1, network install on a ThinkPad T60. When I right click the Desktop, I don't get "Create New -> link to application" and other links. In mint 17.1, I get a Menu with all links. I want to create a link to seamonkey with an icon on desktop.

View 3 Replies View Related

Ubuntu :: Create A Link To A System Service?

Jan 20, 2011

I want to create a link to start apache2 service:

Code:
sudo /etc/init.d/apache2 start
I tried creating a launcher but it did not work at all

View 3 Replies View Related

Red Hat / Fedora :: Create This Link Between The Two Directories Shown Below?

Feb 7, 2011

I need to create this link between the two directories shown below.... So I assume everything that is put into the outgoing directory is copied to

# pwd
/home/e-smith/files/users/admin/home
ls -l
lrwxrwxrwx 1 root root 29 Jun 25 2008 outgoing -> /var/spool/asterisk/outgoing/

View 5 Replies View Related

Fedora :: LVM For BAPCKUPPC - Create A Link To The New Location And What To Mount

Aug 26, 2011

I have read that it is best to have a volume LVM set up to contain the BackupPC data that it generates when backing a machine(s) up. By default BackupPC stores the back up data in /var/lib/BackupPC and there is information on how to create a link to the new location and what to mount on the new dedicated LVM What I do not know is how to create a new LVM for the BackupPC files/data on the machine I have. Currently I have a machine running fedora 15 64 bit. It has BackupPC installed via yum but I have not run it as yet. I believe that I have the necessary dependencies installed The machine has two hard drives, one a 80 GB and the other a 500 GB. Currently Gparted is showing;

/dev/sdb1 ext4 /Boot 500MiB
/dev/sdb2 Lvm2 74.04 GiB (in properties it says it is not mounted)
/dev/sdb1 Lvm2 465.76 GiB (in properties it says it is not mounted)

When the machine was loaded with Fedora it was set up as 1 partition and was just a standard out of the box Fedora install accepting the defaults. how do i go about setting up a LVM that I can expand later if necessary to hold the BackupPC data? I saw in one post some where that person call the group Main. how to" or provide a set by set guide as to how to achieve this. Or provide advise o the best way to set the machine up. I do not intend to run anything else on the machine. It is there to back up a server (Fedora 14), A general use machine machine (Fedora 15) and a windows machine (XP).

View 5 Replies View Related

Software :: Create A Symbolic Link That Points To An Ftp Location?

Jul 1, 2011

I have a large collection of files on a computer (tallgrass) and tallgrass is running an ftp server, which I have the username and password to. There is about 600 GB of files on tallgrass that I need access to, but I don't have a big enough hard drive. I need these data files to run a cpu-intensive calculation, and my CPU is significantly better than tallgrass' cpu, which is why I want to do it on my computer. (Tallgrass also doesn't have enough RAM.) What I would like to do is create a "symbolic link" on my hard drive that will point to the directory containing the data on tallgrass. Read-only is perfectly OK. This way I could read from mylink/data0001.dat and it would read from the file data0001.dat over ftp from tallgrass. I shouldn't have any speed issues because tallgrass is on my 1 Gbps LAN. Is there a way I can do this?

View 2 Replies View Related

Programming :: Create A Link List Is Giving An Error

Sep 23, 2010

I wrote a program to create a link list

Code:
#include <stdio.h>
#include <stdlib.h>
struct node {

[Code].....

View 4 Replies View Related

Ubuntu Servers :: Create A Windows Shared Link In Wine

Jun 1, 2010

I have installed Windows 2003 Server, on that i have installed VMware and in VMware i have installed Ubuntu.Now my requirement is i want to run a Windows Application shortcut from Ubuntu, for that i have installed wine on Ubuntu.Now i have copied and pasted the Shortcut of that Windows Application on Ubuntu's Desktop. When i check the Windows Application shortcut properties its path will be something like this \192.168.1.15ApplicationApplication.exe, but i am unable to run that Application shortcut in Ubuntu.

If i try samething on the other windows system on network it works fine. Actually its a thin client server architecture where i want my thin client to use ubuntu and access the windows application shortcut and run the windows application shortcut on ubuntu. To be more clear my windows 2003 server runs a windows application which has MSSQL as database. Now on my ubuntu system the login page is able to popup but when i give username and password it gives something like server not found,how do i need to approach this issue.

View 2 Replies View Related

Debian :: Libc6 Upgrade Resulting In 'ldconfig' Not Found On PATH

Mar 8, 2010

I just tried installing another version of libc6 (2.10.2-6) with kpackage. It didn't work so I had a broken package on my system. I then wanted to fix it with synaptic package manager which then told me in order to remove it, I had to pretty much uninstall all of linux. I then tried installing the older version of libc6 (the one I'm supposed to have: 2.7-18lenny2). That gave me the error code

dpkg -i '///home/sam/torrents/libc6_2.7-18lenny2_i386.deb' ;echo RESULT=$?
dpkg: `ldconfig' not found on PATH.
dpkg: 1 expected program(s) not found on PATH.
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
RESULT=2

I already checked my path and it was: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin (I found it with echo $PATH)

I guess my path is okay so the problem is in ldconfig but how can I get ldconfig in the path and where could it be now?

View 2 Replies View Related

Fedora :: Changing Run Levels - Error - Failed To Create Symbolic Link

Jun 27, 2011

Ok now since f15 does not use inittab file for default runlevel anymore how do you change it.

I have tried ln -s /lib/systemd/system/multi user.target /etc/systemd/system/default.target

And get the following error ln: failed to create symbolic link `/etc/systemd/system/default.target': File exists

I have even tried changing the /etc/systemd/system/default.target to my multi-user.target file to no aval.

View 4 Replies View Related

Fedora :: Error: Unresolvable Requirement /sbin/ldconfig For Pixman-0.16.2-1.fc12.x86_64 (installed)

Dec 6, 2009

Today's update failed with this line tagged to every package:

Error: Unresolvable requirement /sbin/ldconfig for pixman-0.16.2-1.fc12.x86_64 (installed)
Error: Unresolvable requirement /sbin/ldconfig for libXrandr-1.3.0-3.fc12.x86_64 (installed)
Error: Unresolvable requirement /sbin/ldconfig for libedit-2.11-4.20080712cvs.fc12.x86_64 (installed)

[code]....

View 6 Replies View Related

Ubuntu :: OpenMotif : Create Network Location Link As Local Filesystem Location?

Apr 26, 2011

I'm working with a program that uses Open Motif to create all of the widgets, including the Open File dialog box (obviously). However, Open Motif being kinda old-timey, 80's vintage, and for the most part now an abandoned project, it is quite clunky. So, actually what I need to do is to open some files located on my work server. I have already successfully connected to the relevant server directories with Samba, and with programs built with GTK+ (such as GIMP) I can open files across the network because I have created a bookmark in Nautilus, and those bookmarks appear in the Open File dialog box created by GTK+. Now, Open Motif is different: it doesn't see network locations, orNautilus shortcuts. When I type "smb://serveripyadayada" in the search folder, it really doesn't like it and complains. So, what do I do? Can I get somehow Open Motif to open a network location? Or can I do a run-around and place a shortcut in the file system that points to the network location?

View 2 Replies View Related

Ubuntu :: Create A Link To "My Documents" Folder On XP Partition?

Apr 14, 2010

I've recently installed Ubuntu 9.10 Karmic as a dual boot with WinXP and love it. I've been able to mount my WinXP partition and can access files read/write successfully.

I'd like my WinXP "My Documents" folder to appear as a linked folder in my Linux Home directory.

I think I should be able to use the ln command, but I can't figure it out.

I've tried to create a link that will appear like a "folder" called WinDocs in my Home directory with this command, run from my Home folder:

ln -t /dev/sda1/Documents and Settings/richard/My Documents/ /WinDocs/

but it reports

ln: accessing `/dev/sda1/Documents and Settings/richard/My Documents/': Not a directory

I get the same results if I try /dev/hda1 etc.

I can see the contents of the folder currently in my Places listing. Its shortcut is active on my desktop.

View 4 Replies View Related

Ubuntu :: Copying Gives Error "cp: Cannot Create Symbolic Link"

Jul 10, 2011

i am root i have an ext4 partition of a usb drive mounted at /mnt/sdc1 i have fat32 partition of the same drive mounted at /mnt/sdc3

i want to copy the folder /mnt/sdc1/mnt/dir to /mnt/sdc3 i navigate to /mnt/sdc3

i type this in terminal cp -r /mnt/sdc1/mnt/dir .

I get a lot of this cp: cannot create symbolic link

How do i copy something from an ext4 partition to a fat32 partition?

View 3 Replies View Related

Programming :: String Deletes Its Own Value In C?

May 4, 2011

I have a school project to write a horse racing program, where the user can type their name, bet money, etc. However, after storing the user's name, it will delete itself after a few more instructions. So when I try to read back the user's name, it it blank. just this one section:

Code:

printw("Welcome. Name?
");
refresh();
scanw("%s",name1); //ask for name

[code]....

View 14 Replies View Related

Ubuntu Servers :: Deletes Changes To MOTD?

Jul 29, 2010

I applied some changed to the MOTD in /etc/update-motd (including removing the canonical mention in ./python2.6/dist-packages/landscape/sysinfo/landscapelink.py). After updating the system I found that all my changes had been deleted without any warning. Is there a way around this nonsense?

View 2 Replies View Related







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