Home > gdb error > gdb error while loading shared libraries libexpat.so.0

Gdb Error While Loading Shared Libraries Libexpat.so.0

2 Comments Here again another post about CentOS 5.5. Today morning while I was trying to start gdb with default compiler gcc 4.1.2 which comes with CentOS 5.5 - it crashed with following descriptive error : gdb: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory After a 10 min search I found expat rpm for Cent OS 5.5 from I downloaded and try to install it with "rpm -ivh " command but it failed because of expact-devel dependancy. Then I used command : yum install expat-1.95.8-8.3.el5_5.3.i386.rpm It went fine. But when I tried to start gdb the same problem persists. I found "libexpat.so" in "/usr/lib " of my system . But no "libexpat.so.1" there . Then I did simple tricks with ln command : ln -s /usr/lib/libexpat.so /usr/lib/libexpat.so.1 wow … now its like Makhan[ butter].. Problem is solved .. I hope this will help you too… Like this:Like Loading... Related About samritmaity Simple , Artistic , Meaningful ‹ Installing QT : GLIBCXX_3.4.9 not foundsolved JASMIN REVOLUTION aginst CORRUPT POLITICIANS - LOKPAL BILL india2011 › Tagged with: can, Cent OS 5.5, CentOS, crash, ddd, dependancy, expat, gdb, install, libexpat.so, libexpat.so.1, library, linux, not, open, problem, resolved, shared, solved Posted in computer, debug, install, Passion, Science, troubleshoot, Uncategorized 2 comments on “GDB - libexpat.so.1 not found :solved” dbus segfault says: February 19, 2013 at 9:11 pm thanks this works for mr too Reply Stephen says: April 7, 2015 at 8:17 pm Hello, This will also work on FreeBSD 10, Reply Leave a Reply Cancel reply Enter your comment here... Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. (LogOut/Change) You are commenting using your Twitter account. (LogOut/Change) You are commenting using your Facebook account. (LogOut/Chan

libexpat.so.0: cannot open shared object file: No such file ordirectory EDIT!!! The right way to fix this (and similar problems) is: emerge gentoolkit revdep-rebuild -X It appears that the libexpat problem was caused by Gentoo developers releasing too many updates without cross-checking them. I got this error in Gentoo, after doing an "emerge world". I'm using an AMD64 Turion laptop. /usr/bin/dbus-daemon: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory dbus didn't start, so hald couldn't start, and finally kpowersave wasn't able to read the battery state. You'll agree with me that it is https://samritmaity.wordpress.com/2011/03/08/gdb-libexpat-so-1-not-found-solved/ pretty annoying if you have a 3h25m battery life laptop. Here's how I solved the problem: 1) First of all, I found the path to libexpat.so: it's /usr/lib/libexpat.so root@smokey# ls -l /usr/lib/libexpat* -rw-r--r-- 1 root root 250620 Oct 29 14:17 /usr/lib/libexpat.a -rw-r--r-- 1 root root 795 Oct 29 14:16 /usr/lib/libexpat.la lrwxrwxrwx 1 root root 17 Oct 29 14:17 /usr/lib/libexpat.so -> libexpat.so.1.5.2 lrwxrwxrwx 1 root root 17 Oct 29 https://sevencapitalsins.wordpress.com/2007/11/01/error-while-loading-shared-libraries-libexpatso0-cannot-open-shared-object-file-no-such-file-or-directory/ 14:17 /usr/lib/libexpat.so.1 -> libexpat.so.1.5.2 -rwxr-xr-x 1 root root 141456 Oct 29 14:17 /usr/lib/libexpat.so.1.5.2 2) As you can see, there's no such thing as a libexpat.so.0 in /usr/lib. But there is a libexpat.so.1 referenced by libexpat.so itself. So I made a symbolic link named libexpat.so.0 pointing to libexpat.so: root@smokey# ln -s /usr/lib/libexpat.so /usr/lib/libexpat.so.0 Be warned: this may not be the right thing to do. I should have checked the configuration file of the dbus daemon, and changed it to reference libexpat.so instead of libexpat.so.0. But as you may guess i was pissed enough to dig deeply into crappy conf files. And what if there was another app requiring libexpat.so.0? You can never guess when a developer/mantainer will fail you. 3) Finally, fire up those lazy dbus and hald daemons: root@smokey# /etc/init.d/dbus start * Starting D-BUS system messagebus ... root@smokey# hald start Tch… That was easy, man. And my battery is the best, you'll never beat me in powersaving. Mi piace:Mi piace Caricamento... Articoli collegati Contrassegnato da tag all that sort of things man, crappy code, dbus, Gentoo, hald, kpowersave, libexpat.so.0, stupid mantainer 22 thoughts on “error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file ordirectory” Fred

Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - General error while loading shared libraries: libexpat.so.0: cannot open shared http://www.linuxquestions.org/questions/linux-general-1/error-while-loading-shared-libraries-libexpat-so-0-cannot-open-shared-object-file-4175471858/ object file: User Name Remember Me? Password Linux - General This Linux forum is for general Linux questions and discussion. If it is Linux Related and doesn't seem to fit in any other forum then this is the place. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to gdb error post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any gdb error while problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 08-02-2013, 08:42 AM #1 Naimbora LQ Newbie Registered: Feb 2013 Posts: 3 Rep: error while loading shared libraries: libexpat.so.0: cannot open shared object file: Hi all, I was searching for a solution to the following proble

 

Related content

gdb error 193

Gdb Error p here for a quick overview of relatedl the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute Sign up Cygwin GDB gives error when trying to start program

gdb error attempt to dereference a generic pointer

Gdb Error Attempt To Dereference A Generic Pointer table id toc tbody tr td div id toctitle Contents div ul li a href Gdb Print Void Pointer a li li a href Gdb Dereference Register a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and relatedl policies of this site About Us Learn more about Stack p h id Gdb Print Void Pointer p Overflow the company Business Learn more about hiring developers or posting ads with us gdb

gdb error attempt dereference generic pointer

Gdb Error Attempt Dereference Generic Pointer p here for a quick overview of the site Help Center Detailed answers to relatedl any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute Sign up Attempt to dereference a generic

gdb error accessing memory address invalid argument

Gdb Error Accessing Memory Address Invalid Argument p x User account creation filtered due to spam Bug - relatedl g gdb incorrectly maps variables in fortran common block Summary g gdb incorrectly maps variables in fortran common block Status RESOLVED INVALID Alias None Product gcc Classification Unclassified Component debug show other bugs Version Importance P normal Target Milestone --- Assignee Not yet assigned to anyone URL Keywords Depends on Blocks Reported - - UTC by potterveld Modified - - UTC History CC List user show gcc-bugs See Also Host Target alpha-dec-osf d Build Known to work Known to fail Last

gdb error initializing thread_db library

Gdb Error Initializing Thread db Library table id toc tbody tr td div id toctitle Contents div ul li a href Warning dynamic Section For Is Not At The Expected Address wrong Library Or Version Mismatch a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to relatedl any questions you might have Meta Discuss the p h id Warning dynamic Section For Is Not At The Expected Address wrong Library Or Version Mismatch p workings and policies of this site About Us Learn more about Stack solib-absolute-prefix Overflow the

gdb error in sourced command file

Gdb Error In Sourced Command File p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss relatedl the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute Sign up gdb stops in a command

gdb error while loading shared libraries libreadline.so.5

Gdb Error While Loading Shared Libraries Libreadline so p SEGGER US Store The link you are trying to reach is no longer available or is invalid Forum Software Burning Board developed by WoltLab GmbH p p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and relatedl policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow

gdb error 0377

Gdb Error p your question and get tips relatedl solutions from a community of IT Pros process exited with code Developers It's quick easy Problem - program exited with gdb cheat sheet code P n a Seo Jae Ick Hi My name is Seo Jae Ick I have a problem with running a program on Linux RedHat GDB have reported this program exited with code I think this statement comes when explicit call in process exit - - octet - decimal return - in main function any other case exists I have searched exit - in whole codes but not

gdb error while loading shared libraries libpython2.6.so.1.0

Gdb Error While Loading Shared Libraries Libpython so p here for a quick relatedl overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute Sign up libpython so cannot

gdb error detected on stdin

Gdb Error Detected On Stdin p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more relatedl about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute Sign up gdb pipe redirection Error gdb Hangup

gdb error creating process 193

Gdb Error Creating Process p here for a quick overview of the site relatedl Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute Sign up gdb fails with error when debugging MinGW-compiled

gdb error while loading shared libraries libexpat.so.1

Gdb Error While Loading Shared Libraries Libexpat so p Search HCL Search Reviews Search ISOs Go to Page LinuxQuestions org Forums Linux Forums Linux - General error while loading shared libraries libexpat so cannot open shared object file User Name relatedl Remember Me Password Linux - General This Linux forum is for general Linux questions and discussion If it is Linux Related and doesn't seem to fit in any other forum then this is the place Notices Welcome to LinuxQuestions org a friendly and active Linux Community You are currently viewing LQ as a guest By joining our community you

gdb error while loading shared libraries libncurses.so.5

Gdb Error While Loading Shared Libraries Libncurses so p communities company blog Stack Exchange Inbox Reputation and Badges relatedl sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question Ask Ubuntu is a question and answer site for Ubuntu users and developers Join them it only

gdb error codes

Gdb Error Codes table id toc tbody tr td div id toctitle Contents div ul li a href Gdb Reload Executable a li li a href Gdb Restart Program a li li a href Gdb Tutorial a li ul td tr tbody table p option g -g -o gdbprog gdbprog cc Load executable into gdb gdb gdbprog GDB is free software and you are welcome to distribute copies of relatedl it under certain conditions type show copying to see the gdb where command conditions There is absolutely no warranty for GDB type show warranty for details GDB p h id

gdb error 5

Gdb Error p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this relatedl site About Us Learn more about Stack Overflow the company Business gdb error creating process error Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation starting debugger failed code blocks Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of million programmers just like you helping each other Join them it only takes a minute Sign