Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Wed Aug 23, 2017 8:58 am


System administration, processes administration, jobs, cron, resources, limits, shells, ssh, telnet.

Author Message
admin
Post  Post subject: ldconfig - possibly dangerous: How to fix FreeBSD lib paths after running 'ldconfig' \w arguments  |  Posted: Fri Apr 26, 2013 7:42 pm
Site Admin

Joined: Mon Aug 03, 2009 8:43 am
Posts: 95

Offline
 

ldconfig - possibly dangerous: How to fix FreeBSD lib paths after running 'ldconfig' \w arguments

After running the "ldconfig" command on freeBSD, it will clear library paths used by binaries, so system will be unusable.


Code:
[root@system]# ldconfig   
[root@system]# vim
Shared object "libiconv.so.3" not found, required by "vim"
[root@system]# man man
Shared object "gcc46/libstdc++.so.6" not found, required by "tbl"
Shared object "gcc46/libstdc++.so.6" not found, required by "groff"



The fix is to start the 'ldconfig' rc script:
Code:
[root@system]# /etc/rc.d/ldconfig start





Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "ldconfig - possibly dangerous: How to fix FreeBSD lib paths after running 'ldconfig' \w arguments"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. How to get UFS filesystem block size in FreeBSD

mandrei99

0

2035

Mon Jul 22, 2013 9:49 am

mandrei99 View the latest post

There are no new unread posts for this topic. How to list PCI devices in FreeBSD - pciconf

mandrei99

0

7294

Mon Jul 22, 2013 9:58 am

mandrei99 View the latest post

There are no new unread posts for this topic. Squid clear cache on FreeBSD

mandrei99

0

1540

Mon Mar 03, 2014 7:37 am

mandrei99 View the latest post

There are no new unread posts for this topic. FreeBSD - fuser checking processes that are using a filesystem

mandrei99

2

1188

Tue Mar 24, 2015 1:26 am

Woolmer View the latest post

There are no new unread posts for this topic. How to read UFS filesystem super block information in FreeBSD

mandrei99

0

1387

Mon Jul 22, 2013 9:52 am

mandrei99 View the latest post

There are no new unread posts for this topic. FreeBSD slow booting: Recovering vi editor sessions

mandrei99

0

1262

Wed Feb 19, 2014 4:02 pm

mandrei99 View the latest post

There are no new unread posts for this topic. How to list the largest files in a directory in Linux/FreeBSD

mandrei99

0

540

Thu Jan 22, 2015 5:14 pm

mandrei99 View the latest post

There are no new unread posts for this topic. FreeBSD - How to retrieve the newfs command that was used to create an existing UFS filesystem

mandrei99

0

683

Mon Jul 22, 2013 9:55 am

mandrei99 View the latest post

There are no new unread posts for this topic. FreeBSD - list disks drive in the system with atacontrol and camcontrol

mandrei99

0

6987

Tue Jan 20, 2015 3:08 am

mandrei99 View the latest post

There are no new unread posts for this topic. How to check if ssh/http daemon listens on TCP port in FreeBSD using sockstat & lsof & netstat util

mandrei99

0

1268

Mon Oct 17, 2011 9:27 am

mandrei99 View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO