Quote:
Originally Posted by knudfl
Ubuntu 8.04 ??
The only version, which can be compiled with "glibc-2.7"
(e.g. libc6-dev 2.7-10ubuntu3) is here :
http://ppa.launchpad.net/dreibh/ubun...n/s/socketapi/
Please look for "socketapi_2.2.0~beta4-0ubuntu.orig.tar.gz"
being the last file on the page.
Regards
P.S.: Remark: The files from "socketapi-2.2.x/socket_programs/.libs
(hidden files) are not installed when doing 'make install'
In earlier packages they are in "doc" :
/usr/share/doc/socketapi1/examples/socket_programs.tar.gz
( e.g. from "socketapi1_1.3.2-1_i386.deb" )
|
thanks.
but i failed again.when i use deb file.it says libsctplib1 is not found.
actually,i have installed sctp.
luckily,i have fixed the problem.when i compile and install the socketapi-2.2.0~beta4.orig,i success.thanks again.
actually,many people have the same problem which i have met--glib are not found or some thing else about glib.
there are three ways to fix it.
fist,but also the best:
type the following command:
sudo apt-get install libgtk2.0-common libgtk2.0-dev
and cause gtk depend on glib ,so synaptic will also install glib (even you have installed glib manually,it still work.)everything go fine.
and then you can install sctp or socketapi.(if the socketapi is a deb file,when you install them ,system would still tell you glib is not found,so maybe you can use the source code where the url is provided by knudfl)
second :
type the ./configure --prefix=/usr instead of just ./configure command.the reason is when you use--prefix=/usr,glib will be placed in /usr/lib,otherwise will be located in /usr/local/lib
.without using --prifix,once you install other software ,they will say cannot find glib.
third:
when you just use ./configure ,just like i said before,glib would not be found.but you can add /usr/local/lib to the /etc/ld.so.conf.and then run command like this:ldconfig .and it will work.