Please Help Getting mad! Installing wxwidgets... need to add a path to ldconfig...??
I need to:
Add /opt/wx/2.8/bin to the PATH (if you're shell is bash then edit /etc/profile or ~/.bash_profile) add /opt/wx/2.8/lib to /etc/ld.so.conf (nano /etc/ld.so.conf) then run: from tutorial: http://vunh.blogspot.com/2009/05/cod...in-centos.html if i go look inside of the folder /etc/ld.so.conf.d/ i find one file qt-i386.conf with the contents /usr/lib/qt-3.3/lib From what I understand i need to have another file in there named ? that has the string /opt/wx/2.8/lib A. How do I create a file in here? B. What do i name this file? C. do i need to tell the ldconfig command about the new file? Someone please help!? I have been trying to get this to work all day and I am at the end of my rope! Using CentOS 5.4 Trying to install wxwidgets 2.8 |
Hi,
Just add /opt/wx/2.8/lib in /etc/ld.so.conf before any include directives and run ldconfig. Don't bother with the /etc/ld.so.conf.d/*.conf files. Regards |
Quote:
Code:
[eaicurtis@localhost ~]$ su - Code:
/opt/wx/2.8/lib |
Quote:
include ld.so.conf.d/*.conf [root@localhost Desktop]# dir /opt/wx/2.8/lib libwx_baseu-2.8.so libwx_gtk2u_core-2.8.so.0.4.0 libwx_baseu-2.8.so.0 libwx_gtk2u_html-2.8.so libwx_baseu-2.8.so.0.4.0 libwx_gtk2u_html-2.8.so.0 libwx_baseu_net-2.8.so libwx_gtk2u_html-2.8.so.0.4.0 libwx_baseu_net-2.8.so.0 libwx_gtk2u_media-2.8.so libwx_baseu_net-2.8.so.0.4.0 libwx_gtk2u_media-2.8.so.0 libwx_baseu_xml-2.8.so libwx_gtk2u_media-2.8.so.0.4.0 libwx_baseu_xml-2.8.so.0 libwx_gtk2u_qa-2.8.so libwx_baseu_xml-2.8.so.0.4.0 libwx_gtk2u_qa-2.8.so.0 libwx_gtk2u_adv-2.8.so libwx_gtk2u_qa-2.8.so.0.4.0 libwx_gtk2u_adv-2.8.so.0 libwx_gtk2u_xrc-2.8.so libwx_gtk2u_adv-2.8.so.0.4.0 libwx_gtk2u_xrc-2.8.so.0 libwx_gtk2u_core-2.8.so libwx_gtk2u_xrc-2.8.so.0.4.0 libwx_gtk2u_core-2.8.so.0 wx |
Quote:
Put /opt/wx/2.8/bin first in the PATH: Code:
export PATH=/opt/wx/2.8/bin:$PATH Code:
source ~/.bash_profile |
Quote:
so i did the lines you just told me to do then redid a ldconfig then checked its location and it still says the same thing |
Have you changed your PATH?
What gives: Code:
echo $PATH |
Quote:
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin |
So /opt/wx/2.8/bin is not in root's PATH. You have to edit also root's .bash_profile to add /opt/wx/2.8/bin.
If you want all users have /opt/wx/2.8/bin in their PATH, then edit /etc/profile |
Quote:
i opened this file you speak of... and this is what i am presented with Code:
??? you want me to do what? |
I don't use Centos but from what I can see in the file you've posted, you can add your PATH statement, just before the export PATH... line:
Code:
... |
.............
ok .... so i have a /etc/profile document that has Code:
# /etc/profile i have a etc/ld.so.conf file that has Code:
/opt/wx/2.8 I get Code:
checking for wx-config... /usr/local/bin/wx-config /opt/wx/2.8 i have the files i want and at /usr/local/bin i have a 2.6 version we seem to have got nowhere |
1. Did you logout and login back again (or run source /etc/profile) after editing /etc/profile? I guess you didn't!!
Run again echo $PATH, to verify that you have the correct PATH 2. Quote:
Code:
/opt/wx/2.8/lib |
well we are getting somewhere
returned by ./configure Code:
************************************************* Code:
/opt/wx/2.8/include/wx-2.8/wx/strconv.h:89: note: candidates are: const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*) const any ideas?? this happens when i call make.. |
more detail
Code:
[root@localhost trunk]# make |
All times are GMT -5. The time now is 02:57 PM. |