Saturday, May 18, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1058  / 2 Years ago, mon, december 27, 2021, 5:51:33

I'm trying to build pgadmin 1.20 from source. I already have 1.20.0 installed.



Anyway, I followed the script from INSTALL file. This is where I'm stuck:



make    
./pgadmin/ui/embed-xrc
Rebuilding xrcdialogs.cpp...
wxrc: error while loading shared libraries: libwx_baseu_xml-2.8.so.0: cannot open shared object file: No such file or directory
diff: ./pgadmin/ui/xrcDialogs.cpp.new: No such file or directory
mv: cannot stat ‘./pgadmin/ui/xrcDialogs.cpp.new’: No such file or directory
Makefile:1024: recipe for target 'xrc' failed make: *** [xrc] Error 1


I tried reconfiguring to wxGTK-2.8.12 version



./configure –prefix=/usr/local/WX --with-gtk --enable-gtk2 --enable-unicode.


I got the same message. I tried deleting everything and starting from scratch,using pgadmin 1.20. I tried reinstalling wxGTK 2.8.12. All in vain.



Any ideas where I should start looking?


More From » compiling

 Answers
4

Install libxml2 and libxslt if you have not already.



You should make sure that you have the library files for libwx_baseu_xml in /usr/local/lib or somewhere in your computer. Also make sure that this location of libwx_baseu_xml is in the library search path in /etc/ld.so.conf



You can update the libraries by simply executing the following command:




sudo ldconfig




In most cases this should solve the problem.


[#19372] Wednesday, December 29, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
wenceslockro

Total Points: 494
Total Questions: 127
Total Answers: 97

Location: Chad
Member since Mon, Dec 5, 2022
1 Year ago
;