Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux¹²Ïí¿âλÖÃÅäÖÃ


linux¹²Ïí¿âλÖÃÅäÖÃ(LD_LIBRARY_PATH»·¾³±äÁ¿ »òÕß ¸ü¸Ä/etc/ld.so.conf »òÕß Ê¹ÓÃ-RÑ¡Ïî)
2009-11-06
°æȨÉùÃ÷£º×ªÔØʱÇëÒÔ³¬Á´½ÓÐÎʽ±êÃ÷ÎÄÕÂԭʼ³ö´¦ºÍ×÷ÕßÐÅÏ¢¼°±¾ÉùÃ÷
http://skatings.blogbus.com/logs/50437681.html
linux¹²Ïí¿âλÖÃÅäÖÃ(LD_LIBRARY_PATH»·¾³±äÁ¿ »òÕß ¸ü¸Ä/etc/ld.so.conf »òÕß Ê¹ÓÃ-RÑ¡Ïî)
½ñÌìÏÂÎç³¢ÊÔʹÓÃlibosip2£¬°²×°±È½Ï¼òµ¥£¬°´ÕÕ×Ô´øµÄhelpÎĵµÀïÃæµÄ²Ù×÷½øÐм´¿É¡£
$>mkdir linux-build 
$>cd linux-build
$>../libosip2-2.2.0/configure
$>make                          (×îºó2²½ÒªÔÚ¹ÜÀíԱȨÏÞÏÂÖ´ÐУ©
# make install 
Íê³ÉÖ®ºó£¬»áÔÚ/usr/local/lib·¾¶ÏÂÉú³ÉһЩlioosipXXX.soµÄÎļþ£¬ÔÚ/usr/local/includeÏÂÉú³É¹ØÓÚosipµÄÍ·Îļþ¡£
ΪÁ˲âÊÔ°²×°ÊÇ·ñÕýÈ·£¬ÔÚeclipseϽ¨Á˸ö²âÊÔÏîÄ¿£¬Ð´Á˺ܼòµ¥µÄ´úÂ룺
#include <sys/time.h>//²»¼ÓµÄ»°£¬±àÒëʱ»á±¨´í£¬¿ÉÄÜosipÒÀÀµÓÚtime.h
#include <osip2/osip.h>
//Ö®ËùÒÔÄÜÕÒµ½/usr/local/includeϹØÓÚosipµÄÍ·Îļþ£¬ÊÇÒòΪeclipseĬÈÏ°Ñ/usr/local/include·Åµ½Include directoriesÀïÃæÁË¡£ÔÚeclipseµÄÏîÄ¿ÊôÐÔ-->C++ General-->Path and symbols -->IncludeÀïÃæ¿ÉÒÔ¿´µ½¡£Èç¹û×Ô¼ºÐ´makefileÎļþµÄ»°£¬Òª¼ÓÉÏ-I Ñ¡Ï±íʾ³ÌÐòÀïincludeµÄÍ·ÎļþÈ¥ÄÄÀïÕÒ¡£²Î¼û
http://blog.csdn.net/liuzhuan_1986/archive/2009/07/05/4323274.aspx ¹ØÓÚÍ·Îļþ˵Ã÷
#include <iostream>
using namespace std;
int main()
{
int i;
osip_t *osip;
i = osip_init(&osip);
if(i != 0)
cout << "error" << endl;
cout << "ok" << endl;
return 0;
}
²¢ÇÒÔÚeclipseµÄÏîÄ¿ÊôÐÔ-->C/C++ Build-->Settings-->Tool settings-->GCC C++ Linker-->Libraries¼ÓÉÏ-lpthread -losip2µÄÑ¡Ïî¡£
±àÒëÁ´½Ó¶¼Ã»ÓÐÎÊÌ⣬ÔËÐÐʱ±¨´í£º
error while loading shared libraries: libosip2.so.4: cannot open shared object file: No such file or directory
È»ºó²éµ½¿ÉÄÜÊÇÒòΪ¹²Ïí¿âÉèÖõÄÎÊÌ⣺
ÏÂÃæµÄ¼¸¶ÎÊÇתÔصģ¬¿´ÁËÖ®ºóÃ÷°×linuxÔõôÕÒµ½¹²Ïí¿âµÄ
===========================================================================================
Linux ÔËÐеÄʱºò£¬ÊÇÈçºÎ¹ÜÀí¹²Ïí¿


Ïà¹ØÎĵµ£º

£¨×ª£©linux¸÷Îļþ¼ÐµÄ×÷ÓÃ

linux
ϵÄÎļþ½á¹¹£¬¿´¿´Ã¿¸öÎļþ¼Ð¶¼ÊǸÉÂðÓõÄ
/bin
¶þ½øÖÆ¿ÉÖ´ÐÐÃüÁî
/dev
É豸ÌØÊâÎļþ
/etc
ϵͳ¹ÜÀíºÍÅäÖÃÎļþ
/etc/rc.d
Æô¶¯µÄÅäÖÃÎļþºÍ½Å±¾
/home
Óû§Ö÷Ŀ¼µÄ»ùµã£¬±ÈÈçÓû§user
µÄÖ÷Ŀ¼¾ÍÊÇ/home/user
£¬¿ÉÒÔÓÃ~user
±íʾ
/lib
±ê×¼³ÌÐòÉè¼Æ¿â£¬Óֽж¯Ì¬Á´½Ó¹²Ïí¿â£¬×÷ÓÃÀàËÆwindows
ÀïµÄ. ......

¡¾×ª¡¿Í¼ÎÄÑÝʾ15Ãë»Ö¸´Linux rootÓû§ÃÜÂë


Ô­ÎÄ£ºhttp://www.webjx.com/htmldata/2007-10-05/1191585088.html
°´³£Àí²»¿ÉÒÔÍü¼ÇrootÓû§ÃÜÂëµÄ£¬µ«ÊÇÈç¹ûÕæµÄÍü¼ÇÁË£¬Ò²²»ÓóÕâ¸öÊÇÓа취½â¾öµÄ¡£
15Ãë»Ö¸´rootÃÜÂ룬µ±È»ÊÇûËãÉÏϵͳµÄÆô¶¯Ê±¼äÁË¡£ºÇºÇ¡£
ÏÂÃæÊÇÎÒ¸øroot»Ö¸´ÃÜÂëµÄʵÑé¹ý³Ì.£¨ÓõÄÊÇRHEL4£©¡£
ͼ1
¿ª»úµÄʱºò°´e £¬£¨Èçͼ£¬¾ÍÔÚÕâ¸öʱºò° ......

iphone 3.1.2¿ª·¢»·¾³´î½¨——linuxƽ̨

Ò»¡¢Òý×Ó
Ç°¶Îʱ¼ä¿´µ½ÁËapple¹«Ë¾·¢²¼ÁËiphone os4.0µÄÔ¤ÀÀÊÓƵ£¬iphoneÖÕÓÚ´òËãÖ§³Ö¶àÈÎÎñÁË£¬ÓÈÆäÊǶÔÓÚÔ¤ÀÀÊÓƵÖеÄskypeÈí¼þµÄչʾÈÃÈËÓ¡ÏóÉî¿Ì¡£
Ò»°ãÀ´Ëµ£¬Ïë×öÒ»ÃûÕý¹æµÄiphoneÓ¦Óÿª·¢ÕßÓ¦µ±ÖÁÉÙ×¼±¸Èý¼þÊÂÇ飺
£¨1£©Ò»Ì¨appleµÄµçÄÔ
¿ÉÒÔÊÇmac book»òÕßmac mini£¬¹úÄڱȽϓ½Ú¼ó”µÄ¹«Ë¾´ó¶¼Ñ¡ ......

xpÏÂLinux˫ϵͳµÄ°²×°

xpÏ´ÓÓ²ÅÌ°²×°Linux£¬°üÀ¨redflag6 RedHat9 fc4¶¼ÀàËÆ£¨¶¼²»Ð£¡£©£¬µ«ÊÇ°²×°¹ý³Ì¾ø¶ÔÏêϸ£¡
1¡£Ê×ÏÈÊÇ×¼±¸Ìõ¼þ
    £¨1£© ÌÚ³öµØ·½£ºxpÏÂÒªÓеط½·ÅLinuxµÄ¾µÏñ£¨.iso£©£¬¶øÇÒËùÔÚ´ÅÅÌҪΪfat32¸ñʽ£¬¿ÉÒÔÓÃnorton partitionmagic£¨ºÜ²»´íµÄ¹¤¾ß£¬ÍøÉϺܶàÏÂÔØ£¡£©½«´ÅÅ̸ñʽת»»  ²»¹ýÒòΪÈí ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ