Author |
Message |
ForcedHorizon
Kai Beginner
Joined: 23 Jan 2009
Posts: 2
|
Posted:
Fri Jan 23, 2009 3:10 am |
|
While running kaiengine on Fedora 9 I get this error message....
Ideas how to get around this?
./kaiengine: Symbol `_ZTV10wxClientDC' has different size in shared object, consider re-linking
./kaiengine: Symbol `_ZTV10wxMemoryDC' has different size in shared object, consider re-linking
./kaiengine: Symbol `_ZTV9wxPaintDC' has different size in shared object, consider re-linking
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.4,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6).
Aborted |
|
|
|
|
ForcedHorizon
Kai Beginner
Joined: 23 Jan 2009
Posts: 2
|
Posted:
Fri Jan 30, 2009 2:59 am |
|
Nothing huh? It's right at start up. It'd be cool to get this going. |
|
|
|
|
karmic
Kai Regular
Joined: 02 Jan 2006
Posts: 172
|
Posted:
Wed Dec 16, 2009 7:56 am |
|
I have been exercising Same situation on Fedora 12. And I was able to resolve the issue.
If you want to steer clear of the issue, you should test the following processes.
If you already installed wxGTK and wxBase by yum, uninstall wxGTK and wxBase.
Code: |
sudo yum erase wxGTK
sudo yum erase wxBase |
Get the source RPM.
Code: |
sudo yumdownloader --enablerepo=updates-source --source wxGTK |
Install the source RPM. The file name might be different with wxGTK version.
Code: |
sudo rpm -ivh wxGTK-2.8.10-7.fc12.src.rpm |
Install the dependency libraries needed to build the source RPM.
Code: |
sudo yum-builddep wxGTK-2.8.10-7.fc12.src.rpm |
Edit the spec file. Remove "--enable-compat24" option.
Code: |
cp wxGTK.spec{,.org}
nano wxGTK.spec
diff -u wxGTK.spec{.org,}
--- wxGTK.spec.org 2009-12-16 06:33:15.329926192 +0900
+++ wxGTK.spec 2009-12-16 06:34:21.447928402 +0900
@@ -131,8 +131,7 @@
--enable-sound \
--enable-mediactrl \
--enable-display \
- --enable-timer \
- --enable-compat24
+ --enable-timer
make %{?_smp_mflags}
make %{?_smp_mflags} -C contrib/src/stc |
Build the RPM using the edited spec file.
Code: |
sudo rpmbuild -bb wxGTK.spec |
Install the RPM.
Code: |
sudo rpm -ivh wxBase-2.8.10-7.fc12.i686.rpm
sudo rpm -ivh wxGTK-2.8.10-7.fc12.i686.rpm |
|
|
|
|
|
htilly
Kai Beginner
Joined: 01 Jul 2004
Posts: 4
|
Posted:
Thu Jan 26, 2012 11:35 am |
|
Hi!
First of, thanks for a great guide!
Quick question:
Is there any way/flags to apply so that my machine would build a 32bit rpm even if Im on a 64?
After following your guide I end up with .x86_64.rpm.
Thanks in advance.
BR
Tilly
karmic wrote: |
I have been exercising Same situation on Fedora 12. And I was able to resolve the issue.
If you want to steer clear of the issue, you should test the following processes.
If you already installed wxGTK and wxBase by yum, uninstall wxGTK and wxBase.
Code: |
sudo yum erase wxGTK
sudo yum erase wxBase |
Get the source RPM.
Code: |
sudo yumdownloader --enablerepo=updates-source --source wxGTK |
Install the source RPM. The file name might be different with wxGTK version.
Code: |
sudo rpm -ivh wxGTK-2.8.10-7.fc12.src.rpm |
Install the dependency libraries needed to build the source RPM.
Code: |
sudo yum-builddep wxGTK-2.8.10-7.fc12.src.rpm |
Edit the spec file. Remove "--enable-compat24" option.
Code: |
cp wxGTK.spec{,.org}
nano wxGTK.spec
diff -u wxGTK.spec{.org,}
--- wxGTK.spec.org 2009-12-16 06:33:15.329926192 +0900
+++ wxGTK.spec 2009-12-16 06:34:21.447928402 +0900
@@ -131,8 +131,7 @@
--enable-sound \
--enable-mediactrl \
--enable-display \
- --enable-timer \
- --enable-compat24
+ --enable-timer
make %{?_smp_mflags}
make %{?_smp_mflags} -C contrib/src/stc |
Build the RPM using the edited spec file.
Code: |
sudo rpmbuild -bb wxGTK.spec |
Install the RPM.
Code: |
sudo rpm -ivh wxBase-2.8.10-7.fc12.i686.rpm
sudo rpm -ivh wxGTK-2.8.10-7.fc12.i686.rpm |
|
|
|
|
|
|
karmic
Kai Regular
Joined: 02 Jan 2006
Posts: 172
|
Posted:
Mon Jan 30, 2012 9:19 am |
|
There is simple way to build 32-bit RPM on 64-bit Fedora.
First, install the dependency libraries needed to run the kaiengine(x86).
Code: |
sudo yum install glibc.i686 libgcc.i686 libstdc++.i686
sudo yum install gtk2.i686 gtk2-engines.i686 PackageKit-gtk-module.i686 libcanberra-gtk2.i686 SDL.i686 libXxf86vm.i686 expat.i686 zlib.i686 |
Second, install the mock package and add your user account to the 'mock' group.
Code: |
sudo yum install mock
sudo usermod -a -G mock <username> |
Get the source RPM. The filename may be different in your environment.
Code: |
yumdownloader --source wxGTK
sudo rpm -ivh wxGTK-2.8.12-1.fc16.src.rpm |
Edit the spec file. Remove '--enable-compat24' option.
Code: |
cd ~/rpmbuild/SPECS
cp wxGTK.spec{,.org}
nano wxGTK.spec
diff -u wxGTK.spec{.org,}
...
--enable-timer \
- --enable-compat24 \
--disable-catch_segvs
... |
Create the SRPM using the edited spec file.
Code: |
rpmbuild -bs wxGTK.spec |
Build the 32-bit wxGTK library with mock.
Code: |
cd ~/rpmbuild/SRPMS
mock -r fedora-16-i386 --rebuild wxGTK-2.8.12-1.fc16.src.rpm --target i686 |
Install the RPM. The directory may be different in your environment.
Code: |
cd /var/lib/mock/fedora-16-i386/result
sudo rpm -ivh wxBase-2.8.12-1.fc16.i686.rpm wxGTK-2.8.12-1.fc16.i686.rpm |
|
_________________ XLinkKai on Linux ( http://www37.atwiki.jp/linux_kai/ ) |
|
|
|
|
|
View next topic
View previous topic
You can post new topics in this forum You cannot 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
| |