Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135731 - dev-db/dbdesigner can't start - loads of missing/nonexistant dependencies, etc.
Summary: dev-db/dbdesigner can't start - loads of missing/nonexistant dependencies, etc.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard: Pending removal 04 Jan 2008
Keywords: PMASKED
: 52983 123769 147317 150373 156509 157413 159107 187253 190343 (view as bug list)
Depends on:
Blocks: 110031
  Show dependency tree
 
Reported: 2006-06-06 01:28 UTC by Ondrej Novy
Modified: 2009-02-15 22:56 UTC (History)
15 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output from strace /opt/DBDesigner4/DBDesigner4 (dbdesigner4_strace.txt,9.55 KB, text/plain)
2006-06-20 09:46 UTC, Daniel Murray
Details
My strace output - onovy (DBD4.log,14.44 KB, text/plain)
2006-06-27 00:47 UTC, Ondrej Novy
Details
Add kylix3 to library path (add-kylix.patch,851 bytes, patch)
2006-08-30 06:01 UTC, Andre Hinrichs
Details | Diff
dbdesigner-4.0.5.4.ebuild (dbdesigner-4.0.5.4.ebuild,1.54 KB, application/octet-stream)
2006-08-30 06:09 UTC, Andre Hinrichs
Details
Patch to ebuild (dbdesigner-4.0.5.4.patch,511 bytes, patch)
2007-08-17 17:46 UTC, Michel Filipe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Novy 2006-06-06 01:28:35 UTC
onovy@angel-goose ~ $ startdbd 
Symbolic links exist
Starting DBDesigner4 ...
/usr/bin/startdbd: line 69: 29514 Neopr
Comment 1 Ondrej Novy 2006-06-06 01:28:35 UTC
onovy@angel-goose ~ $ startdbd 
Symbolic links exist
Starting DBDesigner4 ...
/usr/bin/startdbd: line 69: 29514 Neoprávněný přístup do paměti (SIGSEGV)               $app_path/DBDesigner4 $* 2>~/.DBDesigner4/DBD4.log
onovy@angel-goose ~ $ cat ~/.DBDesigner4/DBD4.log
Runtime error 230 at 0806BE8D

emerge --info:
Portage 2.0.54-r2 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16.1                                                                            8 i686)
=================================================================
System uname: 2.6.16.18 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable                                                                            d]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0-r1
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shu                                                                            tdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/                                                                            X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/                                                                            distributions/gentoo"
LANG="cs_CZ.ISO-8859-2"
LINGUAS="cs"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-my"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts audiofile avi bash-completion berkdb bitma                                                                            p-fonts browserplugin bzip2 bzlib cddb cdparanoia cdrom cli crypt cups curl dba                                                                             dri dvd emboss ethereal exif expat extras fam foomaticdb fortran ftp gd gdbm geo                                                                            ip gif gimp gimpprint gkrellm glut gmp gnome gpm gs gstreamer gtk gtk2 gtkhtml i                                                                            conv icq idn imagemagick imap imlib imlib2 innodb ipv6 irda isdnlog java javascr                                                                            ipt jpeg junit lcms libg++ libwww linguas_cs lm_sensors lua mad maildir memlimit                                                                             memory-limit mhash mikmod mime mmx mng motif mozctl mozdevelop moznocompose moz                                                                            noirc moznomail mozp3p mp3 mpeg mpeg4 mplayer ncurses network nls nsplugin ogg o                                                                            ggvorbis openal opengl oss pam pcntl pcre pdflib perl php png pnp postgres ppds                                                                             pppd python qt quicktime readline recode reflection samba sdl serial session sha                                                                            redmem simplexml sis spell spl sqlite sse ssl sysvipc tcpd tiff transcode truety                                                                            pe truetype-fonts type1-fonts udev uml usb vim-with-x vorbis win32codecs xine xm                                                                            l2 xmms xorg xosd xpm xscreensaver xv zlib userland_GNU kernel_linux elibc_glibc                                                                            "
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OP                                                                            TS, PORTAGE_RSYNC_OPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-06-06 01:36:22 UTC
Not much we could do here without a backtrace. Please, attach it and reopen then:

http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 3 Ondrej Novy 2006-06-06 01:44:00 UTC
it's binary packages, so:
(gdb) thread apply all bt full

Thread 1 (Thread 16384 (LWP 29957)):
#0  0x08060dd1 in @DbgEvalFrame ()
No symbol table info available.
#1  0x0805d807 in @DbgEvalFrame ()
No symbol table info available.
#2  0x0805d94c in @DbgEvalFrame ()
No symbol table info available.
#3  0x08064af0 in @DbgEvalFrame ()
No symbol table info available.
#4  0x08064b7e in @DbgEvalFrame ()
No symbol table info available.
#5  0x005b9396 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#6  0x08064bd4 in @DbgEvalFrame ()
No symbol table info available.

maybe this could help:
http://bdn1.borland.com/article/0,1410,28944,00.html
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-06-06 01:54:03 UTC
bug-wranglers@gentoo.org
Comment 5 Daniel Murray 2006-06-20 09:46:31 UTC
Created attachment 89635 [details]
output from strace /opt/DBDesigner4/DBDesigner4

It's looking for libborqt-6.9-qt2.3.so and not finding it on my machine. Can't tell if this is the same problem.
Comment 6 Jari-Matti Mäkelä 2006-06-26 07:24:06 UTC
(In reply to comment #4)
> Created an attachment (id=89635) [edit]
> output from strace /opt/DBDesigner4/DBDesigner4
> 
> It's looking for libborqt-6.9-qt2.3.so and not finding it on my machine. Can't
> tell if this is the same problem.

Daniel, see http://bugs.gentoo.org/show_bug.cgi?id=83930#c1.

Someone please mark this as a duplicate of 83930.
Comment 7 Ondrej Novy 2006-06-27 00:47:37 UTC
Created attachment 90253 [details]
My strace output - onovy

I have libborqr installed and symlinked to /opt/DBDesigner4/linuxlib
Comment 8 Jari-Matti Mäkelä 2006-06-27 05:59:25 UTC
(In reply to comment #6)
> Created an attachment (id=90253) [edit]
> My strace output - onovy
> 
> I have libborqr installed and symlinked to /opt/DBDesigner4/linuxlib

Are you using exactly the right version of libborqr? If I remove that library, my strace looks pretty much the same. It stops exactly on the same spot, but the error is that libborqr is missing, not segfault. If I copy the shared libraries to the Linuxlib/, it works just fine. When another problem with Xft comes up, I used this http://bugs.gentoo.org/show_bug.cgi?id=123769#c3.

Here's my directory listing of /opt/DBDesigner4/Linuxlib/

lrwxrwxrwx 1 demise users      23 26. jun 
Comment 9 Jari-Matti Mäkelä 2006-06-27 05:59:25 UTC
(In reply to comment #6)
> Created an attachment (id=90253) [edit]
> My strace output - onovy
> 
> I have libborqr installed and symlinked to /opt/DBDesigner4/linuxlib

Are you using exactly the right version of libborqr? If I remove that library, my strace looks pretty much the same. It stops exactly on the same spot, but the error is that libborqr is missing, not segfault. If I copy the shared libraries to the Linuxlib/, it works just fine. When another problem with Xft comes up, I used this http://bugs.gentoo.org/show_bug.cgi?id=123769#c3.

Here's my directory listing of /opt/DBDesigner4/Linuxlib/

lrwxrwxrwx 1 demise users      23 26. jun    17:02 libborqt-6.9-qt2.3.so -> libborqt-6.9.0-qt2.3.so
-rwxr-xr-x 1 demise users 7526184 16. aug     2002 libborqt-6.9.0-qt2.3.so

And md5sum for the shared library:

ac668498c6cd401a563ed248b6154df5  libborqt-6.9.0-qt2.3.so

Download address mentioned here  http://bugs.gentoo.org/show_bug.cgi?id=83930#c1.
Comment 10 Ondrej Novy 2006-06-27 06:03:11 UTC
novy@angel-goose / $ ls -l /opt/DBDesigner4/Linuxlib/ | grep libbo
lrwxrwxrwx 1 root root      33 2006-06-27 09:35 libborqt-6.9-qt2.3.so -> /opt/kylix3/libborqt-6.9-qt2.3.so
lrwxrwxrwx 1 root root      35 2006-06-27 09:35 libborqt-6.9.0-qt2.3.so -> /opt/kylix3/libborqt-6.9.0-qt2.3.so
onovy@angel-goose / $ md5sum /opt/DBDesigner4/Linuxlib/libbor*
6743434b247700fa64576f76b27655d4  /opt/DBDesigner4/Linuxlib/libborqt-6.9-qt2.3.so
6743434b247700fa64576f76b27655d4  /opt/DBDesigner4/Linuxlib/libborqt-6.9.0-qt2.3.so

same version, another md5sum (i have that library from portage)

*  x11-libs/kylixlibs3-borqt
      Latest version available: 3.0-r1
      Latest version installed: 3.0-r1
      Size of files: 2,452 kB
      Homepage:      http://kylixlibs.sf.net
      Description:   Kylix 3 OE libraries
      License:       GPL-2
Comment 11 Jari-Matti Mäkelä 2006-06-27 16:07:31 UTC
(In reply to comment #8)

I guess you should try the binary version from here http://www.bnr2.org/libborqt-6.9.0-qt2.3.so.tgz.

DBDesigner is a binary build and very sensitive about the correct library version. If it doesn't work, I can't help you, sorry.
Comment 12 Jari-Matti Mäkelä 2006-06-27 16:12:55 UTC
(In reply to comment #9)
> (In reply to comment #8)
> 
> I guess you should try the binary version from here
> http://www.bnr2.org/libborqt-6.9.0-qt2.3.so.tgz.
> 
> DBDesigner is a binary build and very sensitive about the correct library
> version. If it doesn't work, I can't help you, sorry.

Ok, I decided to test the version from portage. It works fine here.
Comment 13 Andre Hinrichs 2006-08-30 06:01:17 UTC
Created attachment 95470 [details, diff]
Add kylix3 to library path

This patch corrects two things:
1.) Add the path to libborqt-6.9-qt2.3.so to LD_LIBRARY_PATH
2.) Comment out CLX_USE_LIBQT to get rid of the libXft.so.1 (bug #123769)
Comment 14 Andre Hinrichs 2006-08-30 06:09:15 UTC
Created attachment 95471 [details]
dbdesigner-4.0.5.4.ebuild

Modified ebuild to add the patch and add dependency for x11-libs/kylixlibs3-borqt
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2006-09-12 07:38:04 UTC
*** Bug 147317 has been marked as a duplicate of this bug. ***
Comment 16 Andre Hinrichs 2006-10-12 03:51:49 UTC
Has anybody tried my patch? Are there any problems?
Is it possible that the patch harms systems with other configurations or old X?
If not, could you please add this to the portage?
Comment 17 Toralf Förster gentoo-dev 2006-11-02 05:09:39 UTC
After installing kylix3 and applying your patch I got:
libXft.so.1: cannot open shared object file: No such file or directory

Therefore I did in /usr/lib :
ln -s libXft.so.2.1.2 libXft.so.1

and get now:
tfoerste@n22 ~ $ cat .DBDesigner4/DBD4.log
/opt/DBDesigner4/DBDesigner4: symbol lookup error: /opt/DBDesigner4/Linuxlib/libqt.so.2: undefined symbol: XftPatternGetString

:-(
Comment 18 Toralf Förster gentoo-dev 2006-11-02 05:19:13 UTC
This https://bugs.gentoo.org/show_bug.cgi?id=123769#add_comment helped, kylix3 seems not to be nesccessary
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 06:29:51 UTC
*** Bug 150373 has been marked as a duplicate of this bug. ***
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2006-11-28 06:29:56 UTC
*** Bug 156509 has been marked as a duplicate of this bug. ***
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2006-12-07 03:32:16 UTC
*** Bug 157413 has been marked as a duplicate of this bug. ***
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2006-12-26 03:20:57 UTC
*** Bug 159107 has been marked as a duplicate of this bug. ***
Comment 23 D. Stiefe1maier 2006-12-26 06:49:17 UTC
(In reply to comment #20)
> *** Bug 159107 has been marked as a duplicate of this bug. ***
> 
Excuse me, but Bug 159107 is not a duplicate of this bug.
Its main focus is amd64, and i never read anything about getting dbdesigner to work on amd64.
Also, it shouldn't be resolved as long as dbdesigner is masked on amd64.
Comment 24 Mark Phipps 2007-02-21 00:45:42 UTC
FYI: DBDesigner (now known as MySQL Workbench) is now part of the mysql_gui_tools ebuild.
Comment 25 Quincy 2007-03-08 13:16:36 UTC
It is mentioned in the ebuilds, but it's always commented. Whats the reason for this?
Comment 26 Andre Hinrichs 2007-03-08 13:31:10 UTC
Because workbench is still alpha. MySQL has removed workbench from current gui-tools release 10 because of this.
On the other hand MySQL has made workbench to the main development target for this year. So it's likely to be added to gui-tools again in a near future.

See also:
http://lists.mysql.com/gui-tools/1981
http://lists.mysql.com/gui-tools/1982
Comment 27 Jakub Moc (RETIRED) gentoo-dev 2007-07-31 13:55:17 UTC
*** Bug 187253 has been marked as a duplicate of this bug. ***
Comment 28 Jakub Moc (RETIRED) gentoo-dev 2007-07-31 13:57:11 UTC
*** Bug 52983 has been marked as a duplicate of this bug. ***
Comment 29 Jakub Moc (RETIRED) gentoo-dev 2007-07-31 13:58:26 UTC
*** Bug 123769 has been marked as a duplicate of this bug. ***
Comment 30 Jakub Moc (RETIRED) gentoo-dev 2007-07-31 14:03:50 UTC
This ebuild is completely FUBAR-ed (other missing deps/libs - Bug 52983, Bug 123769 etc. etc. etc.)

No idea when mysql-gui-tools will be ready to replace this, but as said above, the ebuild plain doesn't work and it's useless as it is.

Please, remove this thing from the tree.
Comment 31 D. Stiefe1maier 2007-07-31 23:50:09 UTC
After setting a handfull of symlinks it works pretty well for me on x86 and amd64 as well. So, of course it is a pain, but I'd not remove it before workbench reaches post-alpha state.
Comment 32 Michel Filipe 2007-08-17 17:46:31 UTC
Created attachment 128420 [details, diff]
Patch to ebuild

This patch is to fix the error: "/opt/DBDesigner4/DBDesigner4: symbol lookup error: /opt/DBDesigner4/Linuxlib/libqt.so.2: undefined symbol: XftPatternGetString"
Comment 33 Michel Filipe 2007-08-17 17:53:25 UTC
If the package x11-libs/kylixlibs3-borqt not merged in your PC - same my laptop -, copy the library (ebuild /usr/portage/dev-db/dbdesigner/dbdesigner-4.0.5.4.ebuild unpack) to the /opt/DBDesigner4/Linuxlib (cp libborqt-6.9.0-qt2.3.so /opt/DBDesigner4/Linuxlib/.)

Ok, thanks! :D
Comment 34 Jakub Moc (RETIRED) gentoo-dev 2007-08-27 03:32:50 UTC
*** Bug 190343 has been marked as a duplicate of this bug. ***
Comment 35 Samuli Suominen (RETIRED) gentoo-dev 2008-01-07 14:09:33 UTC
gone
Comment 36 Johannes Buchner 2009-02-15 22:56:37 UTC
I couldn't get this to run (ebuild didn't install anything). Just wanted to say running with wine is a workaround.