FAQ  •  Search  •  Profile  •  Log in to check your private messages  •  Log in
 Problem installing XLinkKai + AdhocToUSB bridge Ubuntu 12.04 View next topic
View previous topic
Post new topicReply to topic
Author Message
bahamut515
Kai Beginner
Kai Beginner


Joined: 22 May 2010
Posts: 4

PostPosted: Wed Jun 27, 2012 2:33 am Reply with quoteBack to top

Hello everyone,

I need some help getting Kai to work on Ubuntu 12.04. I've been over the other topics and all of them show old sources, some of them dead already. When I run a bridge, I get a libpcap0.8 error. When I run kaiEngine, I get another error(libwx_gtk2-richtext I think). Help ?
View user's profileSend private message
karmic
Kai Regular
Kai Regular


Joined: 02 Jan 2006
Posts: 172

PostPosted: Wed Jun 27, 2012 5:57 am Reply with quoteBack to top

Hello bahamut515,

bahamut515 wrote:
I need some help getting Kai to work on Ubuntu 12.04.

Which architecture are you using, i386 or amd64?


bahamut515 wrote:
When I run a bridge, I get a libpcap0.8 error.

Please show me the following commands output:
Code:
file bridge
ldd bridge



bahamut515 wrote:
When I run kaiEngine, I get another error(libwx_gtk2-richtext I think).

Please show me the following commands output:
Code:
file kaiengine
ldd kaiengine


Thanks

_________________
XLinkKai on Linux ( http://www37.atwiki.jp/linux_kai/ )
View user's profileSend private message
bahamut515
Kai Beginner
Kai Beginner


Joined: 22 May 2010
Posts: 4

PostPosted: Wed Jun 27, 2012 1:49 pm Reply with quoteBack to top

Thanks for the quick answer. here are the logs

file bridge:
bridge: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, BuildID[sha1]=0x8bffd95fbd34360f6e1b64a82a230d58a3c5620a, not stripped

ldd bridge

linux-gate.so.1 => (0xf77af000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7773000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf776a000)
libusb-0.1.so.4 => /lib/i386-linux-gnu/libusb-0.1.so.4 (0xf775f000)
libpcap.so.0.8 => not found
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf75ba000)
/lib/ld-linux.so.2 (0xf77b0000)

file kaiengine
kaiengine: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped


ldd kaiengine

linux-gate.so.1 => (0xf7701000)
libwx_gtk2u_richtext-2.8.so.0 => not found
libwx_gtk2u_aui-2.8.so.0 => not found
libwx_gtk2u_xrc-2.8.so.0 => not found
libwx_gtk2u_qa-2.8.so.0 => not found
libwx_gtk2u_html-2.8.so.0 => not found
libwx_gtk2u_adv-2.8.so.0 => not found
libwx_gtk2u_core-2.8.so.0 => not found
libwx_baseu_xml-2.8.so.0 => not found
libwx_baseu_net-2.8.so.0 => not found
libwx_baseu-2.8.so.0 => not found
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf75f9000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf75cd000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf75ae000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7593000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf73ee000)
/lib/ld-linux.so.2 (0xf7702000)


Thanks
View user's profileSend private message
karmic
Kai Regular
Kai Regular


Joined: 02 Jan 2006
Posts: 172

PostPosted: Wed Jun 27, 2012 2:42 pm Reply with quoteBack to top

Thank you for your response.

32-bit
If you are using i386 architecture, install the following 3 packages:
Code:
sudo apt-get -y install libpcap0.8 libwxbase2.8-0 libwxgtk2.8-0



64-bit
If you are using amd64 architecture, download following 3 packages,
Code:
wget http://archive.ubuntu.com/ubuntu/pool/main/libp/libpcap0.8/libpcap0.8_0.9.8-2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/w/wxwidgets2.8/libwxbase2.8-0_2.8.12.1-6ubuntu2.2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/w/wxwidgets2.8/libwxgtk2.8-0_2.8.12.1-6ubuntu2.2_i386.deb

and install it:
Code:
sudo dpkg -i libpcap0.8_0.9.8-2_i386.deb
sudo dpkg -i libwxbase2.8-0_2.8.12.1-6ubuntu2.2_i386.deb
sudo dpkg -i libwxgtk2.8-0_2.8.12.1-6ubuntu2.2_i386.deb


Please check ldd output again.

Thanks

_________________
XLinkKai on Linux ( http://www37.atwiki.jp/linux_kai/ )
View user's profileSend private message
bahamut515
Kai Beginner
Kai Beginner


Joined: 22 May 2010
Posts: 4

PostPosted: Wed Jun 27, 2012 2:50 pm Reply with quoteBack to top

Thanks

ldd kaiengine shows:
linux-gate.so.1 => (0xf771d000)
libwx_gtk2u_richtext-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_gtk2u_richtext-2.8.so.0 (0xf761b000)
libwx_gtk2u_aui-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_gtk2u_aui-2.8.so.0 (0xf75bc000)
libwx_gtk2u_xrc-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_gtk2u_xrc-2.8.so.0 (0xf753d000)
libwx_gtk2u_qa-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_gtk2u_qa-2.8.so.0 (0xf7521000)
libwx_gtk2u_html-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_gtk2u_html-2.8.so.0 (0xf7493000)
libwx_gtk2u_adv-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_gtk2u_adv-2.8.so.0 (0xf73de000)
libwx_gtk2u_core-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0 (0xf70a9000)
libwx_baseu_xml-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_baseu_xml-2.8.so.0 (0xf709e000)
libwx_baseu_net-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_baseu_net-2.8.so.0 (0xf7074000)
libwx_baseu-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0 (0xf6f36000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf6e51000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf6e25000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf6e06000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf6deb000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf6c46000)
libgtk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 (0xf67de000)
libgdk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0 (0xf672f000)
libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xf66df000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0 (0xf66be000)
libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xf65c5000)
libpango-1.0.so.0 => /usr/lib/i386-linux-gnu/libpango-1.0.so.0 (0xf657b000)
libXinerama.so.1 => /usr/lib/i386-linux-gnu/libXinerama.so.1 (0xf6577000)
libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xf656d000)
libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xf6543000)
libjpeg.so.8 => /usr/lib/i386-linux-gnu/libjpeg.so.8 (0xf64ed000)
libtiff.so.4 => /usr/lib/i386-linux-gnu/libtiff.so.4 (0xf648a000)
libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xf6460000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf6449000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf6444000)
/lib/ld-linux.so.2 (0xf771e000)
libpangocairo-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0 (0xf6437000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf6303000)
libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xf62fd000)
libatk-1.0.so.0 => /usr/lib/i386-linux-gnu/libatk-1.0.so.0 (0xf62dc000)
libcairo.so.2 => /usr/lib/i386-linux-gnu/libcairo.so.2 (0xf6211000)
libgio-2.0.so.0 => /usr/lib/i386-linux-gnu/libgio-2.0.so.0 (0xf60b9000)
libpangoft2-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0 (0xf608d000)
libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xf6059000)
libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf6046000)
libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xf603c000)
libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xf602c000)
libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xf6023000)
libXcursor.so.1 => /usr/lib/i386-linux-gnu/libXcursor.so.1 (0xf6018000)
libXcomposite.so.1 => /usr/lib/i386-linux-gnu/libXcomposite.so.1 (0xf6013000)
libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xf600f000)
libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xf6008000)
libgmodule-2.0.so.0 => /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 (0xf6003000)
libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xf5fc7000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf5fbd000)
libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xf5fa3000)
libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf5f9d000)
libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xf5f03000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf5ee2000)
libpixman-1.so.0 => /usr/lib/i386-linux-gnu/libpixman-1.so.0 (0xf5e49000)
libxcb-shm.so.0 => /usr/lib/i386-linux-gnu/libxcb-shm.so.0 (0xf5e45000)
libxcb-render.so.0 => /usr/lib/i386-linux-gnu/libxcb-render.so.0 (0xf5e3b000)
libselinux.so.1 => /lib/i386-linux-gnu/libselinux.so.1 (0xf5e1c000)
libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xf5e04000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf5dff000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf5df8000)

and it boots up fine until it says no interface detected.

ldd bridge shows:

linux-gate.so.1 => (0xf7777000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf773b000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf7732000)
libusb-0.1.so.4 => /lib/i386-linux-gnu/libusb-0.1.so.4 (0xf7727000)
libpcap.so.0.8 => not found
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7582000)
/lib/ld-linux.so.2 (0xf7778000)

During Libpcap0.8 deb install it says:

dpkg: error processing libpcap0.8_0.9.8-2_i386.deb (--install):
libpcap0.8:i386 0.9.8-2 (Multi-Arch: no) is not co-installable with libpcap0.8:amd64 1.1.1-10 (Multi-Arch: same) which is currently installed
Errors were encountered while processing:
libpcap0.8_0.9.8-2_i386.deb

Thanks
View user's profileSend private message
karmic
Kai Regular
Kai Regular


Joined: 02 Jan 2006
Posts: 172

PostPosted: Wed Jun 27, 2012 3:30 pm Reply with quoteBack to top

First run the following command:
Code:
sudo apt-get -f install


Download libpcap0.8_1.1.1-10_i386.deb and install it:
Code:
wget http://archive.ubuntu.com/ubuntu/pool/main/libp/libpcap/libpcap0.8_1.1.1-10_i386.deb
sudo dpkg -i --force-architecture libpcap0.8_1.1.1-10_i386.deb


Thanks

_________________
XLinkKai on Linux ( http://www37.atwiki.jp/linux_kai/ )
View user's profileSend private message
bahamut515
Kai Beginner
Kai Beginner


Joined: 22 May 2010
Posts: 4

PostPosted: Wed Jun 27, 2012 9:22 pm Reply with quoteBack to top

Everything worked fine thanks,

Although I have a psp running 6.35PROB-10, and Cannot find AdhoctoUSBv2 for linux. Thanks for helping me though
View user's profileSend private message
karmic
Kai Regular
Kai Regular


Joined: 02 Jan 2006
Posts: 172

PostPosted: Thu Jun 28, 2012 10:46 am Reply with quoteBack to top

Sorry, I don't know AdhocToUSBv2 for Linux because I haven't used AdhocToUSB for two years.

AdhocToUSB is composed of two files. One is the plug-in file working on PSP and the other is the bridge application working on OS. As regards the plug-in file, you can use AdhocToUSB.prx which is contained in AdhocToUSBv2 for Windows. As regards the bridge application, if you can get the latest source code of AdhocToUSBv2 for Windows, you should build it on Linux.

Thanks

_________________
XLinkKai on Linux ( http://www37.atwiki.jp/linux_kai/ )
View user's profileSend private message
giggyprince
Team XLink Moderator
Team XLink Moderator


Joined: 27 Feb 2011
Posts: 1206

PostPosted: Thu Jun 28, 2012 12:24 pm Reply with quoteBack to top

Or use a virtual machine with windows installed to make it run.
View user's profileSend private message
[MRC]Link1275
Kai Beginner
Kai Beginner


Joined: 20 Jul 2011
Posts: 74

PostPosted: Wed Jul 04, 2012 6:12 pm Reply with quoteBack to top

Actually only one bridge was designed for Linux, and I don't know where a copy is(I have a copy, but I think it lost a few bytes in an update backup).
View user's profileSend private message
giggyprince
Team XLink Moderator
Team XLink Moderator


Joined: 27 Feb 2011
Posts: 1206

PostPosted: Wed Jul 04, 2012 7:56 pm Reply with quoteBack to top

A bit old but might be of interest--> http://www.teamxlink.co.uk/forum/viewtopic.php?t=39587
View user's profileSend private message
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group :: Theme by Daz :: All times are GMT