FedoraThis forum is for the discussion of the Fedora Project.
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 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.
If you have any 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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'am compiling SVGAlib and it has a Makefile and I ran make install and it stops on a error
can't find ldconfig, I did a find next on Makefile for ldconfig and the only entry for ldconfig
is shown below, I used a editor to insert the /sbin/ldconfig, but it still comes up with can't find ldconfig while doing make install.
What gives ??
Jim
(this is the only entry for ldconfig in the Makefile)
endif
@echo Installing shared library image as \
$(addprefix $(sharedlibdir)/,$(notdir $(SHAREDLIBS))).
@for foo in $(notdir $(SHAREDLIBS)); do \
$(INSTALL_SHLIB) sharedlib/$$foo $(sharedlibdir)/$$foo; \
(cd $(sharedlibdir); \
ln -sf $$foo `echo $$foo | sed 's/\.so\..*/.so/'` ); \
done
@./fixldsoconf
@/sbin/ldconfig
"I'am compiling SVGAlib and it has a Makefile and I ran make install and it stops on a error
can't find ldconfig, I did a find next on Makefile for ldconfig and the only entry for ldconfig
is shown below, I used a editor to insert the /sbin/ldconfig, but it still comes up with can't find ldconfig while doing make install."
Could you post the exact error message? Maybe it can't find the ldconfig program or maybe it is having trouble editing the ldconfig configuration file, /etc/ld.so.conf
It is not finding the ldconfig command. Are you running as root or user? It is possible that user cannot run ldconfig. try this command:
which ldconfig
to see if ldconfig is available to the make command.
if I type in which ldconfig , it can't find ldconfig , but if I type in whereis ldconfig it points to it in /sbin/ldconfig.
And that is where I edited in, in the Makefile.
I'm running make install as su "root"
I think that you want to use "su -l" instead of just plain "su". This will set your paths to the root path. You could try both "su" and "su -l" and then look at the difference in the $PATH variable to make sure.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.