libvlccore.so.5 cannot find entry symbol _start

*nix specific usage questions
Azzrael
New Cone
New Cone
Posts: 6
Joined: 20 Jul 2010 23:21

libvlccore.so.5 cannot find entry symbol _start

Postby Azzrael » 31 Dec 2011 04:35

first and foremost: many thanks to all contributors

this a bug(?) report.

i git the source
tonight (2011 12 31)
and did:
./bootstrap
configure --disable-lua --disable-mad

note: the --disable-lua and --disable-mad is because i could never for the life of me get those things "seen" by the configure (package liblua5.1-0 liblua5.1-0-dev version 5.1.4-10 and libmad0 version0.15.1b-6 *are* installed trough apt-get)

Code: Select all

#./configure --disable-lua --disable-mad [blah blah blah] libvlc configuration -------------------- version : 1.3.0-git system : linux architecture : x86_64 mmx sse sse2 optimizations : yes vlc aliases : cvlc rvlc qvlc
the ./compile went with no errors (kewl colors^_^).
the make install also went with no problem
i'll grep the relevant part here:
#make install 2>/dev/null|grep libvlccore.so.5

Code: Select all

#make install |grep libvlccore.so.5 libtool: install: /usr/bin/install -c .libs/libvlccore.so.5.0.0 /usr/local/lib/libvlccore.so.5.0.0 libtool: install: (cd /usr/local/lib && { ln -s -f libvlccore.so.5.0.0 libvlccore.so.5 || { rm -f libvlccore.so.5 && ln -s libvlccore.so.5.0.0 libvlccore.so.5; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libvlccore.so.5.0.0 libvlccore.so || { rm -f libvlccore.so && ln -s libvlccore.so.5.0.0 libvlccore.so; }; })
(warnings removed)

after that i get:

Code: Select all

# /usr/local/bin/vlc /usr/local/bin/vlc: error while loading shared libraries: libvlccore.so.5: cannot open shared object file: No such file or directory #echo $? 127

Code: Select all

#ll /usr/local/lib/libvlccore* 4.0K -rwxr-xr-x 1 root staff 974 Dec 31 04:14 /usr/local/lib/libvlccore.la 0 lrwxrwxrwx 1 root staff 19 Dec 31 04:14 /usr/local/lib/libvlccore.so -> libvlccore.so.5.0.0 0 lrwxrwxrwx 1 root staff 19 Dec 31 04:14 /usr/local/lib/libvlccore.so.5 -> libvlccore.so.5.0.0 3.5M -rwxr-xr-x 1 root staff 3.5M Dec 31 04:14 /usr/local/lib/libvlccore.so.5.0.0 #ld /usr/local/lib/libvlccore.so.5 ld: warning: cannot find entry symbol _start; not setting start address

Code: Select all

#uname -a Linux <HOSTNAME> 3.1.0-1-amd64 #1 SMP Sun Dec 11 20:36:41 UTC 2011 x86_64 GNU/Linux
distro is debian wheezy

i'm no dev. any info you need, i'll get for you to the best of my abilities


lastly:
to all contributors
in this new year
may the passed victories help you confront the future challenges
may you find happyness, health, and all the bugs :lol:
Last edited by Azzrael on 31 Dec 2011 05:30, edited 2 times in total.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: libvlccore.so.5 cannot find entry symbol _start

Postby Rémi Denis-Courmont » 01 Jan 2012 21:53

Looks like correct behaviour to me. ld is not supposed to work on a shared library.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Azzrael
New Cone
New Cone
Posts: 6
Joined: 20 Jul 2010 23:21

Re: libvlccore.so.5 cannot find entry symbol _start

Postby Azzrael » 08 Jan 2012 16:13

which shows the extend of my knowledge ^_^

but still freshly compiled with no errors during the coompilation process and install process i get that error message ...

Code: Select all

# /usr/local/bin/vlc /usr/local/bin/vlc: error while loading shared libraries: libvlccore.so.5: cannot open shared object file: No such file or directory
it would seem vlc does not / cannot load whatever he needs from libvlccore.so.5

... .. .

after having *no errors* whatsoever it is .. frustrating ;p

unkle_george
New Cone
New Cone
Posts: 1
Joined: 20 Jan 2012 18:52

Re: libvlccore.so.5 cannot find entry symbol _start

Postby unkle_george » 20 Jan 2012 18:54

Workaround I found, for better or worse, it seems to work.

i managed to do it. found out libraries were installed in /usr/local/lib instead of /usr/lib. have to run:
sudo ln -s /usr/local/lib/libvlc* /usr/lib/
sudo ln -s /usr/local/lib/libx264.a /usr/lib/
sudo ln -s /usr/local/lib/vlc /usr/lib/vlc

Edit*
I also had to remove some installed vlc libs. These may have been the problem to start with:
#sudo aptitude search vlc
sudo aptitude remove libvlc5

** Use at your own risk if you know what you're getting yourself into...

brushhead
Blank Cone
Blank Cone
Posts: 13
Joined: 04 Sep 2008 13:57
VLC version: 2.0.1
Operating System: Debian
Location: Wales, UK

Re: libvlccore.so.5 cannot find entry symbol _start

Postby brushhead » 28 Feb 2012 14:15

Thanks very much for this, got me out of a hole!!
Robert Wilson,
Robstech Consulting Ltd,


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 10 guests