Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77647 - Ximian OpenOffice ebuild should automatically emerge unixODBC as it depends on it
Summary: Ximian OpenOffice ebuild should automatically emerge unixODBC as it depends o...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 134046 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-12 02:14 UTC by Luke A. Guest
Modified: 2006-05-22 11:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke A. Guest 2005-01-12 02:14:34 UTC
Well, as above, when adding a datasource, OO fails to find libodbc.so.1 which is not in programs directory of OO; there is a libodbc2.so.


Reproducible: Always
Steps to Reproduce:
1. Install OO
2. Go to Tools -> Data Sources
3. Change the database type to MySQL
4. Select "Use existing MyODBC data source" & Click on the button "..."
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-16 08:39:53 UTC
I assume this only shows up if I really have a mysql source somewhere, cause just following your steps nothing happens for me. Correct? 
Comment 2 Luke A. Guest 2005-01-16 12:49:23 UTC
I have a ODBC data source:

$ cat /etc/unixODBC/odbc.ini
[MySQL-mysql]
Description     = MySQL database mysql
Driver          = MySQL
Server          = <myhostname>
Database        = mysql
Port            = 3306

$ cat /etc/unixODBC/odbcinst.ini
[MySQL]
Description	= ODBC for MySQL
Driver		= /usr/lib/libmyodbc3.so
FileUsage	= 1

I'm just trying to connect to the internal database, which I can do using the isql command.

Basically, I cannot connect to the MySQL database at all. I can't use the unixODBC driver, or the MySQL ODBC driver, I can't use the JDBC driver as it won't remember/use sun-j2sdk-1.4.2. If I press the "Organize..." button in the "Data Source" window, it gives me the following message: "Could not load the program library libodbcinst.so or it is corrupted. The ODBC data source configuration is not available."

Firstly, OO should emerge the necessary packages, it doesn't. Then it doesn't even work.

I can't think of any other steps, as those are the ones that cause the problem for me.

I can upload some screen shots if you'd like to see what happens?

Luke.
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-16 13:48:32 UTC
For the whole "Not working" stuff, take a look at:

http://bugs.gentoo.org/show_bug.cgi?id=69943

Is that helpful?
Comment 4 Luke A. Guest 2005-01-16 14:06:41 UTC
Yeah, that seems to be the same problem. Although the fact that OO still can't use sun-j2sdk-1.4.2 is still a problem, and yes, I did re-emerge OO.

Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2005-01-19 06:50:33 UTC
I don't know about the ximian version, but for the normal version, odbc is like jdbc optional at runtime. This libodbc.so.1 library is provided by unixODBC, and openoffice will use it when available.
Comment 6 Luke A. Guest 2005-01-19 07:05:19 UTC
It doesn't though. I have them installed
Comment 7 Paul de Vrieze (RETIRED) gentoo-dev 2005-01-19 07:43:05 UTC
At my system /usr/lib/libODBC.so.1 is provided by dev-db/unixODBC-2.2.8, could you see whether you have that too? It seems that your odbc installation is somewhat broken. Do you have "gODBCConfig" and do you have data resources setup? (this is nontrivial, but not related to openoffice)
Comment 8 Luke A. Guest 2005-01-19 07:46:29 UTC
dev-db/unixODBC
      Latest version available: 2.2.6
      Latest version installed: 2.2.6

I have /usr/lib/libodbc.so.1 not libODBC*

There are other problems with the Ximian version, so I'm gonna try the beta of OO 2 and then install whatever normal OO version there is if that doesn't work.
Comment 9 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-19 07:51:30 UTC
What "other" problems do you have with the ximian version (which are not in the vanilla OOo)? Cause actually, I don't believe these are -ximian specific...
Comment 10 Luke A. Guest 2005-01-19 07:56:53 UTC
I cannot get it to recognise fonts that I have installed under GNOME - these work in GIMP and the font selector. They just don't show up in OO.

I've already mentioned the Java problem in a previous post here.

The manual says that you can install fonts via spadmin, you cannot.
Comment 11 Luke A. Guest 2005-01-19 14:20:31 UTC
Well, I've just tried out the plain openoffice.org1.9.69 and it just doesn't make sense, at least Ximian got one thing right; make the thing more intuitive!!

The best thing the OO people could do is to fold in the changes that Ximian made. Fonts look bloody awful! When I exported a drawing which had some text on, the text messed up...oh well.
Comment 12 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-19 17:36:06 UTC
Fonts in ooo-ximian are autodetected, no need anymore for spadmin. If it doesn't work for you, this is a problem with your font setup
Comment 13 Luke A. Guest 2005-01-20 04:55:53 UTC
So how come they're detected within GNOME then? I can see them in the fonts drawer, I can use them in the fonts preferences, I can use them within GIMP-2.0.

There's something wrong with OO.
Comment 14 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-24 03:25:15 UTC
As Paul already pointed out unixODBC is an optional dependency, so won't fix this. About your other problems, you could try to redo your user install dir, as it works for me (and others), it has to be a local problem.
Comment 15 Luke A. Guest 2005-01-24 04:37:58 UTC
I already deleted my .xopenoffice directory, nothing.
Comment 16 Paul de Vrieze (RETIRED) gentoo-dev 2005-01-25 12:39:10 UTC
It was a typo from me, Indeed my libodbc is in small case, not uppercase. Leaves the check that unixODBC is configured correctly. To access a datasource with openoffice, it first must be configured well for unixODBC. This cannot be done by openoffice.
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2006-05-22 11:51:58 UTC
*** Bug 134046 has been marked as a duplicate of this bug. ***