Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#446 closed defect (wontfix)

bad search path for ldconfig at $sudo make install

Reported by: stranche@… Owned by: diego@…
Priority: normal Component: build system
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:


When building MPlayer from CVS, the "sudo make install" command gives a
"ldconfig: Command not found"

$ sudo make install
make[1]: Entering directory `/home/stranche/test/main/libdha'
mkdir -p /usr/local/lib
install -m 755 -p /usr/local/lib/
rm -f /usr/local/lib/
ln -sf /usr/local/lib/
make[1]: ldconfig: Command not found
make[1]: * [install] Error 127
make[1]: Leaving directory `/home/stranche/test/main/libdha'
make[1]: Entering directory `/home/stranche/test/main/vidix'
make[2]: Entering directory `/home/stranche/test/main/vidix/drivers'
mkdir -p /usr/local/lib/mplayer/vidix
install -m 755 -p *.so /usr/local/lib/mplayer/vidix
make[2]: Leaving directory `/home/stranche/test/main/vidix/drivers'
make[1]: Leaving directory `/home/stranche/test/main/vidix'
if test ! -d /usr/local/bin ; then mkdir -p /usr/local/bin ; fi
install -m 755 -s mplayer /usr/local/bin/mplayer
if test ! -d /usr/local/man/man1 ; then mkdir -p /usr/local/man/man1; fi
for i in en; do \

if test "$i" = en ; then \

install -c -m 644 DOCS/man/en/mplayer.1

/usr/local/man/man1/mplayer.1 ; \

else \

mkdir -p /usr/local/man/$i/man1 ; \
install -c -m 644 DOCS/man/$i/mplayer.1

/usr/local/man/$i/man1/mplayer.1 ; \

fi ; \

install -m 755 -s mencoder /usr/local/bin/mencoder
for i in en; do \

if test "$i" = en ; then \

ln -sf mplayer.1 /usr/local/man/man1/mencoder.1 ; \

else \

ln -sf mplayer.1 /usr/local/man/$i/man1/mencoder.1 ; \

fi ; \


system is running Linux Fedora core 4 on Opteron system (x86_64)

ldconfig is in /sbin/, this path should be searched and included in the
generated Makefile since we're generaly not working in root (dangerous, bad,
gaaaaah) but doing sudo at the necessary time.

Change History (2)

comment:1 Changed 14 years ago by stranche@…

* Bug 447 has been marked as a duplicate of this bug. *

comment:2 Changed 14 years ago by diego@…

  • Resolution set to wontfix
  • Status changed from new to closed

The Makefile is not generated. It is normal for ldconfig to fail as non-root.
Adjust your path to avoid this problem.

Note: See TracTickets for help on using tickets.