You are not logged in.

#1 2009-06-28 17:57:53

00l0
Member
Registered: 2009-01-19
Posts: 31

[SOLVED] inkscape "bus error"

hello,
i'm having trouble with inkscape , installation was done via pacman w/o any problems... It simply outputs a "Bus Error" message in the command line.
Arch x86_64 , kdemod(also tested under openbox+rox)

# DAEMONS
DAEMONS=(syslog-ng hal wicd network dnsmasq netfs crond oss kdm)

# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist..
MODULES=(fuse)

I gived the AUR version(inkscape-svn 21579-1) a try http://aur.archlinux.org/packages.php?ID=18652 but no luck, as well as with compilling it myself. In both cases i receive a libMagickCore: undefined reference error, and i'd say that my dependencies are fine bc the "./configure" does not complain.
Any ideas? I really need this software!

thanks  : D

Last edited by 00l0 (2009-06-29 23:09:46)

Offline

#2 2009-06-28 18:37:07

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [SOLVED] inkscape "bus error"

Hello bus error it sounds me that you need dbus running wink


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#3 2009-06-28 18:47:15

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] inkscape "bus error"

No, "Bus Error" (SIGBUS) is generally when the program tries to access to memory with unaligned address, if run under gdb can analize what happens wink
And sometime when access to a file that is mapped in memory, and this files is overwrited.

See with "lsof -n"


Try to compile inkscape via the PKGBUILD in ABS.

What about undefined symbols?

Last edited by djgera (2009-06-28 18:49:12)

Offline

#4 2009-06-28 19:56:16

00l0
Member
Registered: 2009-01-19
Posts: 31

Re: [SOLVED] inkscape "bus error"

hola!
thank you both for the replies,

SpeedVin wrote:

Hello bus error it sounds me that you need dbus running wink

As djgera said, i think that's not the problem since if i'm not wrong, daemon-ing hal autostarts dbus as well


djgera wrote:

No, "Bus Error" (SIGBUS) is generally when the program tries to access to memory with unaligned address, if run under gdb can analize what happens wink
And sometime when access to a file that is mapped in memory, and this files is overwrited.

See with "lsof -n"


Try to compile inkscape via the PKGBUILD in ABS.

What about undefined symbols?

<spanish>muy agradecido por la elaborada respuesta, aprendí algo nuevo : )</spanish>

Running under gdb:

[toni@myhost ~]$ gdb -args inkscape
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu"...
(no debugging symbols found)
(gdb) run
Starting program: /usr/bin/inkscape
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGBUS, Bus error.
0x00007f3b90690078 in memset () from /lib/ld-linux-x86-64.so.2

I don't really know what i'm supposed to find in the lsof output(same memory address?) so this is the lsof output grep-ped:

$ lsof -n | grep inks
bash       1259 toni  cwd       DIR                8,7      4096  221249 /home/toni/aur/inkscape/inkscape
gdb        6814 toni    5r      REG                8,7  11744952   35581 /usr/bin/inkscape               
inkscape   6815 toni  cwd       DIR                8,7      4096   36977 /home/toni                      
inkscape   6815 toni  rtd       DIR                8,7      4096       2 /                               
inkscape   6815 toni  txt       REG                8,7  11744952   35581 /usr/bin/inkscape               
inkscape   6815 toni  mem       REG                8,7  14360576  128994 /usr/lib/libgs.so.8.64          
inkscape   6815 toni  mem       REG                8,7    159029   61546 /usr/lib/libjpeg.so.62.0.0      
inkscape   6815 toni  mem       REG                8,7    373280   82725 /usr/lib/libjasper.so.1.0.0     
inkscape   6815 toni  mem       REG                8,7    406789   61785 /usr/lib/libtiff.so.3.8.2       
inkscape   6815 toni  mem       REG                8,7    251450   66229 /usr/lib/liblcms.so.1.0.18      
inkscape   6815 toni  mem       REG                8,7   4234812   34808 /usr/lib/libMagickCore.so.2.0.0 
inkscape   6815 toni  mem       REG                8,7   1232200   34803 /usr/lib/libMagickWand.so.2.0.0 
inkscape   6815 toni  mem       REG                8,7    655449   34800 /usr/lib/libMagick++.so.2.0.0   
inkscape   6815 toni  mem       REG                8,7   1830517   33629 /usr/lib/libcrypto.so.0.9.8     
inkscape   6815 toni  mem       REG                8,7    363381   33632 /usr/lib/libssl.so.0.9.8        
inkscape   6815 toni  mem       REG                8,7   1928008   71089 /usr/lib/libpython2.6.so.1.0    
inkscape   6815 toni  mem       REG                8,7    136991    2648 /lib/libpthread-2.10.1.so       
inkscape   6815 toni  mem       REG                8,7     14401    2629 /lib/libutil-2.10.1.so          
inkscape   6815 toni  mem       REG                8,7     40898    2611 /lib/libcrypt-2.10.1.so         
inkscape   6815 toni  mem       REG                8,7    589386    2643 /lib/libm-2.10.1.so             
inkscape   6815 toni  mem       REG                8,7     19394    2601 /lib/libdl-2.10.1.so            
inkscape   6815 toni  mem       REG                8,7    109601    2642 /lib/libnsl-2.10.1.so           
inkscape   6815 toni  mem       REG                8,7   1403588   51325 /usr/lib/libX11.so.6.2.0        
inkscape   6815 toni  mem       REG                8,7     43910   56594 /usr/lib/libXrender.so.1.3.0    
inkscape   6815 toni  mem       REG                8,7     96840   58770 /usr/lib/libXft.so.2.1.13       
inkscape   6815 toni  mem       REG                8,7    312370   64101 /usr/lib/libgconf-2.so.4.1.5    
inkscape   6815 toni  mem       REG                8,7    533466   34520 /usr/lib/libgnomevfs-2.so.0.2400.1
inkscape   6815 toni  mem       REG                8,7     44155    8366 /usr/lib/libpopt.so.0.0.0         
inkscape   6815 toni  mem       REG                8,7    185315   58898 /usr/lib/libpng12.so.0.37.0       
inkscape   6815 toni  mem       REG                8,7    971025   35384 /usr/lib/libglib-2.0.so.0.2000.3  
inkscape   6815 toni  mem       REG                8,7     44013    2616 /lib/librt-2.10.1.so              
inkscape   6815 toni  mem       REG                8,7     23482   35387 /usr/lib/libgthread-2.0.so.0.2000.3
inkscape   6815 toni  mem       REG                8,7     16356   35375 /usr/lib/libgmodule-2.0.so.0.2000.3
inkscape   6815 toni  mem       REG                8,7    350230   35391 /usr/lib/libgobject-2.0.so.0.2000.3
inkscape   6815 toni  mem       REG                8,7    234279   52110 /usr/lib/libfontconfig.so.1.3.0    
inkscape   6815 toni  mem       REG                8,7    681598   51718 /usr/lib/libfreetype.so.6.3.20     
inkscape   6815 toni  mem       REG                8,7    359096   60413 /usr/lib/libpango-1.0.so.0.2400.2  
inkscape   6815 toni  mem       REG                8,7    615740   60122 /usr/lib/libcairo.so.2.10800.6     
inkscape   6815 toni  mem       REG                8,7     65596   60405 /usr/lib/libpangocairo-1.0.so.0.2400.2
inkscape   6815 toni  mem       REG                8,7    154995   62759 /usr/lib/libgdk_pixbuf-2.0.so.0.1600.2
inkscape   6815 toni  mem       REG                8,7    217099   60409 /usr/lib/libpangoft2-1.0.so.0.2400.2  
inkscape   6815 toni  mem       REG                8,7    666823   35373 /usr/lib/libgio-2.0.so.0.2000.3       
inkscape   6815 toni  mem       REG                8,7    165463   60872 /usr/lib/libatk-1.0.so.0.2609.1       
inkscape   6815 toni  mem       REG                8,7    818992   62756 /usr/lib/libgdk-x11-2.0.so.0.1600.2   
inkscape   6815 toni  mem       REG                8,7   5093662   62761 /usr/lib/libgtk-x11-2.0.so.0.1600.2   
inkscape   6815 toni  mem       REG                8,7     32133   34599 /usr/lib/libgtkspell.so.0.0.0         
inkscape   6815 toni  mem       REG                8,7     28443   45630 /usr/lib/libsigc-2.0.so.0.0.0         
inkscape   6815 toni  mem       REG                8,7   1652477   60046 /usr/lib/libxml2.so.2.7.3
inkscape   6815 toni  mem       REG                8,7     95783    8491 /usr/lib/libz.so.1.2.3.3
inkscape   6815 toni  mem       REG                8,7    264923   34664 /usr/lib/libxslt.so.1.1.24
inkscape   6815 toni  mem       REG                8,7    495871   46525 /usr/lib/libglibmm-2.4.so.1.2.0
inkscape   6815 toni  mem       REG                8,7    185023   46606 /usr/lib/libcairomm-1.0.so.1.3.0
inkscape   6815 toni  mem       REG                8,7    262563   46978 /usr/lib/libpangomm-1.4.so.1.0.30
inkscape   6815 toni  mem       REG                8,7    402100   34554 /usr/lib/libatkmm-1.6.so.1.0.30
inkscape   6815 toni  mem       REG                8,7    419933   34550 /usr/lib/libgdkmm-2.4.so.1.0.30
inkscape   6815 toni  mem       REG                8,7    660189   46531 /usr/lib/libgiomm-2.4.so.1.2.0
inkscape   6815 toni  mem       REG                8,7   5539116   34557 /usr/lib/libgtkmm-2.4.so.1.0.30
inkscape   6815 toni  mem       REG                8,7    141446    2605 /lib/ld-2.10.1.so
inkscape   6815 toni  mem       REG                8,7    136880   35608 /etc/ld.so.cache
inkscape   6815 toni    0u      CHR              136,1       0t0       4 /dev/pts/1
inkscape   6815 toni    1u      CHR              136,1       0t0       4 /dev/pts/1
inkscape   6815 toni    2u      CHR              136,1       0t0       4 /dev/pts/1
inkscape   6815 toni    3r     FIFO                0,6       0t0  246244 pipe
inkscape   6815 toni    4w     FIFO                0,6       0t0  246244 pipe
inkscape   6815 toni    5r      REG                8,7  11744952   35581 /usr/bin/inkscape
inkscape   6815 toni    6r      REG                8,7  14360576  128994 /usr/lib/libgs.so.8.64
lsof       6824 toni  cwd       DIR                8,7      4096  255742 /home/toni/abs/inkscape
grep       6825 toni  cwd       DIR                8,7      4096  255742 /home/toni/abs/inkscape
lsof       6826 toni  cwd       DIR                8,7      4096  255742 /home/toni/abs/inkscape
bash      23637 toni  cwd       DIR                8,7      4096  255742 /home/toni/abs/inkscape

Building via ABS, complains  about a couple of things, does fixing implies source editing?

[...]
In file included from ./libavoid/graph.h:30,
                 from libavoid/router.h:30,
                 from conn-avoid-ref.cpp:20:
./libavoid/vertices.h:60: error: 'stdout' was not declared in this scope
./libavoid/vertices.h: In member function 'void Avoid::VertInfList::stats()':
./libavoid/vertices.h:103: error: 'printf' was not declared in this scope
make[2]: *** [conn-avoid-ref.o] Error 1
make[2]: Leaving directory `/home/toni/abs/inkscape/src/inkscape-0.46/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/toni/abs/inkscape/src/inkscape-0.46'
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...

Thank you again!

Offline

#5 2009-06-28 20:31:01

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] inkscape "bus error"

Hola big_smile Por nada wink

I tried to compile the 0.46 version, and there are many errors( not only about undeclared functions, also type conversions), can fix them, but I think that is a lost of time, having an up-to-date svn version whis already errors fixed.

About gdb, is necessary to view more data (registers, what instruction is executing), but... again go to svn, so avoid old problems wink [No me había fijado antes, este tópico está en el foro NewBie Corner, creo que no es apropiado jugar con gdb tongue]

what about inkscape-svn error? can paste the problem with more details? or paste all makepkg -L output to pastebin.com?

Salut!

Offline

#6 2009-06-28 20:34:54

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] inkscape "bus error"

Btw, n my machine I can not reproduce the error. Maybe is a config related. or other issue that cause it.

Do you try in another clean user, with default settings? without loading another theme style then the default, etc?

Offline

#7 2009-06-28 21:39:56

00l0
Member
Registered: 2009-01-19
Posts: 31

Re: [SOLVED] inkscape "bus error"

hola again,

jaja, at least i learnt what gdb is about smile

sorry, it took a while to compile...and no luck ;(
here is the code out of makepkg -L from the AUR version(svn):
http://pastebin.com/m572502de
To put it short, here is the tail of the output:

[...]
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagickCore.so: undefined reference to `gsapi_init_with_args'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagickCore.so: undefined reference to `gsapi_new_instance'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagickCore.so: undefined reference to `gsapi_delete_instance'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagickCore.so: undefined reference to `gsapi_run_string'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagickCore.so: undefined reference to `gsapi_exit'
collect2: ld returned 1 exit status
make[2]: *** [inkscape] Error 1
make[2]: Leaving directory `/home/toni/aur/inkscape-svn/src/inkscape-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/toni/aur/inkscape-svn/src/inkscape-build'
make: *** [all] Error 2

gracias otra vez : )

Last edited by 00l0 (2009-06-28 21:40:38)

Offline

#8 2009-06-28 22:18:21

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] inkscape "bus error"

Alooo smile

If you view more above, can see "/usr/bin/ld: warning: libgs.so.8, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagick++.so, not found (try using -rpath or -rpath-link)"

libgs.so is under ghostscript. do you have ghostscript installed?

Here inkscape-svn compile fine wink

btw: there are some warning messages about strict aliasing is break, leaving the code in undefined behaviour, this is: can work or not.
Recomendation add in the PKGBUILD:

export CFLAGS="$CFLAGS -fno-strict-aliasing"
export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"

before the "configure" line.

Offline

#9 2009-06-28 22:32:59

00l0
Member
Registered: 2009-01-19
Posts: 31

Re: [SOLVED] inkscape "bus error"

oh!
you are right about the libgs warning, tho i do have ghostscript installed ;(
I will give a try to your exporting CFLAGS recommendation and post results, i think i'm doing all this right: I downloaded .tar.gz+.install+PKGBUILD files to the same folder from AUR and proceeded with "makepkg -L", thats the way isn't it? I hope it's not a x86_64 thing, are you under such architecture as well? And did you install the rest of the dependencies via pacman?
I'll post results as soon as it finishes!

Offline

#10 2009-06-28 23:08:48

00l0
Member
Registered: 2009-01-19
Posts: 31

Re: [SOLVED] inkscape "bus error"

Same results ;( :

/usr/bin/ld: warning: libgs.so.8, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagick++.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagickCore.so: undefined reference to `gsapi_init_with_args'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagickCore.so: undefined reference to `gsapi_new_instance'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagickCore.so: undefined reference to `gsapi_delete_instance'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagickCore.so: undefined reference to `gsapi_run_string'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagickCore.so: undefined reference to `gsapi_exit'
collect2: ld returned 1 exit status
make[2]: *** [inkscape] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/ld: warning: libgs.so.8, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagick++.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagickCore.so: undefined reference to `gsapi_init_with_args'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagickCore.so: undefined reference to `gsapi_new_instance'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagickCore.so: undefined reference to `gsapi_delete_instance'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagickCore.so: undefined reference to `gsapi_run_string'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/libMagickCore.so: undefined reference to `gsapi_exit'
collect2: ld returned 1 exit status
make[2]: *** [inkview] Error 1
make[2]: Leaving directory `/home/toni/aur/inkscape-svn/src/inkscape-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/toni/aur/inkscape-svn/src/inkscape-build'
make: *** [all] Error 2
==> ERROR: Build Failed.
    Aborting...

And i rechecked that i do have ghostscript installed, libgs.so.8 is still not found(warning), should i linkt to libgs.so.8.64? They are both within /usr/lib... Also what about the " try using -rpath or -rpath-link"? I have no clue what to do!

thank you!

Offline

#11 2009-06-28 23:45:48

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] inkscape "bus error"

what shows this command?

$ ldd /usr/lib/libMagick++.so.2.0.0 | grep "not"
$ ldd /usr/lib/libMagick++.so.2.0.0 | grep libgs
        libgs.so.8 => /usr/lib/libgs.so.8 (0x00007f8b923dc000)
        libgssapi.so.2 => /usr/lib/libgssapi.so.2 (0x00007f8b8d73d000)
        libgsf-1.so.114 => /usr/lib/libgsf-1.so.114 (0x00007f8b8ae37000)
$

heimdal is installed?

seems that you have many broken deps in your system.

what shows "testdb" command?


Por nada wink

Offline

#12 2009-06-28 23:58:56

00l0
Member
Registered: 2009-01-19
Posts: 31

Re: [SOLVED] inkscape "bus error"

here it is!:

$ ldd /usr/lib/libMagick++.so.2.0.0 |  grep "not"
/usr/bin/ldd: line 118: 19295 Bus error               LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW= LD_LIBRARY_VERSION=$verify_out LD_VERBOSE= "$@"
$ ldd /usr/lib/libMagick++.so.2.0.0 |  grep libgs
/usr/bin/ldd: line 118: 19313 Bus error               LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW= LD_LIBRARY_VERSION=$verify_out LD_VERBOSE= "$@"

'testdb' shows nothing...I just 'updatedb' as well, is that the right way to sync libraries installed or fix broken deps?
Oh and I didn't have heimdal installed, actually i was looking at this topic http://bbs.archlinux.org/viewtopic.php?pid=498830 and thought about doing so, but i wanted to understand more or less what's going on first, if possible ofcourse : D

compilling again...

EDIT:
same results ;(
It is obviously as ou pointed, some broken deps thing. Kinf of serious actually... : o How would one fix the 'Bus Error' thing that comes out no matter what lib/binary I 'ldd'?
Btw, I use  Sata drive w/o AHCI module enabled/installed but i just set the BIOS as 'IDE'. That can't be the problem right? Everything else in the system works fine, and kdemod is terrificly smooth too.
i'm off to bed now..

gracias!

Last edited by 00l0 (2009-06-29 00:34:13)

Offline

#13 2009-06-29 01:40:23

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] inkscape "bus error"

ugghhh this is ugly...."bus error" with doing a ldd on a library....

maybe some lib is corrupted, do you try to reinstall imagemagick?

your system is up-to-date? pacman -Syu ?

testdb shows deps that are not satisfaced by any package that request it.

Offline

#14 2009-06-29 01:57:53

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] inkscape "bus error"

I assume that you have done a reboot after the system was updated.

This is a list [#1] of all lib loaded when is loaded /usr/lib/libMagick++.so.2.0.0 with md5sum, can verify if there are some differences?

4c9b4a05531634450fcca4cfabf074b3  /usr/lib/libMagick++.so.2.0.0

Also for every lib can do an ldd, and see what of these fails?

BTW my system is with testing enabled, so if you don't have enabled it, maybe some files can differ...

[#1] http://djgera.pastebin.com/m15e9abd8

Offline

#15 2009-06-29 07:25:53

00l0
Member
Registered: 2009-01-19
Posts: 31

Re: [SOLVED] inkscape "bus error"

hello djgera,
actually i had no luck at all... I can't 'ldd' anything, everything outputs a "Bus Error" exactly as the one in #12.
My system is up-to-date, and I rebooted just now.
Also i don't know how to get that list you posted, I tried with 'ld' and here is the result:

$ ld /usr/lib/libMagick++.so.2.0.0
ld: warning: libgs.so.8, needed by /usr/lib/libMagick++.so.2.0.0, not found (try using -rpath or -rpath-link)
ld: warning: cannot find entry symbol _start; not setting start address
/usr/lib/libMagickCore.so.2: undefined reference to `gsapi_init_with_args'
/usr/lib/libMagickCore.so.2: undefined reference to `gsapi_new_instance'
/usr/lib/libMagickCore.so.2: undefined reference to `gsapi_delete_instance'
/usr/lib/libMagickCore.so.2: undefined reference to `gsapi_run_string'
/usr/lib/libMagickCore.so.2: undefined reference to `gsapi_exit'

I don't have testing enabled but again, i just can't make it till there to compare anyway ;(
I appreciate the support, what else can I do? Should I start thinking about reinstalling the whole system and switch back to i686? It would be cool to get it fixed in order to see what is wrong, but it's ok if there is no choice/requires too much time... smile

Offline

#16 2009-06-29 07:48:08

droog
Member
Registered: 2004-11-18
Posts: 877

Re: [SOLVED] inkscape "bus error"

Nevermind, just saw it compiles fine for djgera, but I've had similar errors building inkscape-svn and rebuilt imagemagick and it built fine after that.

Last edited by droog (2009-06-29 07:55:31)

Offline

#17 2009-06-29 08:23:51

00l0
Member
Registered: 2009-01-19
Posts: 31

Re: [SOLVED] inkscape "bus error"

droog wrote:

Nevermind, just saw it compiles fine for djgera, but I've had similar errors building inkscape-svn and rebuilt imagemagick and it built fine after that.

hello thank you for the suggestion, i'm trying it the ABS way, but no luck. It seems the package version ImageMagick-6.5.3.2.tar.gz is no longer available on thir server. I'm trying to compile a newer version folowwing the PKGBUILD instrucions but no luck either

 # When there is a soname bump, remove 'LIBS=-lMagickWand' from configure line and build/install. Then, readd 'LIBS=-lMagickWand' and build/install twice.
  LIBS=-lMagickWand ./configure --prefix=/usr --without-modules --disable-static --enable-openmp \
              --with-x --with-wmf --with-openexr --with-xml \
              --with-gslib --with-gs-font-dir=/usr/share/fonts/Type1 \
              --with-perl --with-perl-options="INSTALLDIRS=vendor" \
              --without-gvc --without-djvu --without-autotrace --with-jp2 \
              --without-jbig --without-fpx --without-dps

outputs:

configure: error: in `/home/toni/builds/ImageMagick-6.5.4-0':
configure: error: C compiler cannot create executables
See `config.log' for more details.

either with/without -lMagickWand option, how else can I do this? Which is the wrong option in the .configure call? How coudl i downgrade, via pacman?
ty

Offline

#18 2009-06-29 14:55:10

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] inkscape "bus error"

00l0: I will come back from the work @ 19:30 [-0300]. Contact me on IRC in the channel #archlinux-bugs, so can talk in spanish in private, and more fluid conversation to quick solve the problem, and next post the solution here wink

Hasta luego!

Offline

#19 2009-06-29 16:00:51

00l0
Member
Registered: 2009-01-19
Posts: 31

Re: [SOLVED] inkscape "bus error"

i will be there!

thank you!

Last edited by 00l0 (2009-06-29 16:01:03)

Offline

#20 2009-06-29 23:09:27

00l0
Member
Registered: 2009-01-19
Posts: 31

Re: [SOLVED] inkscape "bus error"

well, thanks to djgera it's all been fixed, and the cause of the error could be found.
It was caused by an old ghostscript(where libgs.so.8 - the 'buggy' lib - belongs to) package installed.

The solution was:
1. Remove the actual package installed from pacman's cache:

$ rm /var/cache/pacman/pkg/ghostscript-8.64-5-x86_64.pkg.tar.gz

2. Reinstall/upgrade latest package version via pacman:

# pacman -Sy ghostscript

3. magic.

I hope it'll be helpful tosomeone else! : D

thank you

Offline

Board footer

Powered by FluxBB