[Geany-Users] BuildingGeanyInstallFail

Geoff Kaniuk geoff at xxxxx
Mon Aug 24 23:23:49 UTC 2020


Hi Enrico,

Thanks - but I did run as root!

If you look at the script I posted, you will see that the third line reads:
====================================================================
/home/geoff/Build/geany/geany-main/geany-1.36# make install
====================================================================

It seems like the PWD was wrong. I tried running ldconfig from other places:
====================================================================
/sbin# ldconfig -p
bash: ldconfig: command not found
/sbin# cd /
/# /sbin/ldconfig -p>/home/geoff/test-ldconfig
1357 libs found in cache `/etc/ld.so.cache'
...
====================================================================

So one has to run make install from the top level / ?

Tomorrow!

Geoff

33 Ashbury Close, Cambridge CB1 3RW 01223 710582

On 24/08/2020 21:59, Enrico Tröger wrote:
> Hi Geoff,
> 
> On 24.08.20 20:24, Geoff Kaniuk wrote:
>> Running the Autotools based build system  from the current online manual
>> https://www.geany.org/manual/current/index.html (version 1.35), I
>> successfully completed the configure task:
>> ==============================================================
>> $ ./configure
>> $ make
>> ==============================================================
>>
>> However, the installation failed as it could not find ldconfig:
>> ==============================================================
>> # make install
>> ...
>> /bin/bash: line 3: ldconfig: command not found
>> make[4]: *** [Makefile:1660: fix-ubuntu-libdir] Error 127
> 
> As root, ldconfig should be found.
> As user, ldconfig is usually not callable without the full path (as it
> is located in /sbin).
> 
> So, it looks like you ran "make install" as user. OTOH, usually unless
> manually changed, users cannot write to /usr/local.
> 
> Try running "make install" as root.
> 
> Regards,
> Enrico
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
> 


More information about the Users mailing list