Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on AMD64
  • Search

Cannot use sqlite with Openoffice-bin 2.2: bad libodbc.so.1

Have an x86-64 problem? Post here.
Locked
Advanced search
4 posts • Page 1 of 1
Author
Message
rollingstone
n00b
n00b
Posts: 16
Joined: Sun Jun 20, 2004 5:45 pm

Cannot use sqlite with Openoffice-bin 2.2: bad libodbc.so.1

  • Quote

Post by rollingstone » Sat Aug 11, 2007 1:24 pm

amd64

I gives me "Could not load teh program library libodbc.so.1 or it is corrupted. The ODBC data source selection is not available" When I try to Browse to the db in
the oocalc db connection dialog.

* app-office/openoffice-bin 2.2.1
* dev-db/unixODBC 2.2.12
* dev-db/sqliteodbc 0.70
* dev-db/qt-unixODBC 3.3.8

/etc/unixODBC/odbcinst.ini
[SQLite]
Description=SQLite ODBC Driver
Driver=/usr/lib64/libsqliteodbc.so
Setup=/usr/lib64/libsqliteodbc.so

/etc/unixODBC/odbc.ini
[mysqldb]
Description=My SQLite
Driver=SQLite
Database=/tmp/sqldb.db

Any ideas?
Thanks
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

Re: Cannot use sqlite with Openoffice-bin 2.2: bad libodbc.s

  • Quote

Post by DaggyStyle » Sat Aug 11, 2007 1:28 pm

rollingstone wrote:amd64

I gives me "Could not load teh program library libodbc.so.1 or it is corrupted. The ODBC data source selection is not available" When I try to Browse to the db in
the oocalc db connection dialog.

* app-office/openoffice-bin 2.2.1
* dev-db/unixODBC 2.2.12
* dev-db/sqliteodbc 0.70
* dev-db/qt-unixODBC 3.3.8

/etc/unixODBC/odbcinst.ini
[SQLite]
Description=SQLite ODBC Driver
Driver=/usr/lib64/libsqliteodbc.so
Setup=/usr/lib64/libsqliteodbc.so

/etc/unixODBC/odbc.ini
[mysqldb]
Description=My SQLite
Driver=SQLite
Database=/tmp/sqldb.db

Any ideas?
Thanks
have you tried revdep-rebuild?
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Top
Dinini
Apprentice
Apprentice
Posts: 236
Joined: Wed Jun 11, 2003 12:22 am

Re: Cannot use sqlite with Openoffice-bin 2.2: bad libodbc.s

  • Quote

Post by Dinini » Sun Aug 12, 2007 6:42 am

Warning, I haven't played with odbc on unix 64bit for several years, this may be wrong.

Possibly a stupid question, shouldn't [mysqldb] actually be [mysqlitedb] ? (i configured it that way when I used unixodbc in a different distribution)
rollingstone wrote:amd64

I gives me "Could not load teh program library libodbc.so.1 or it is corrupted. The ODBC data source selection is not available" When I try to Browse to the db in the oocalc db connection dialog.
openoffice-bin is a 32bit program, you can't directly access lib64 shared libraries (which is what you have compiled). I think you may need to compile openoffice (64bit) so that your connection will work.
Top
rollingstone
n00b
n00b
Posts: 16
Joined: Sun Jun 20, 2004 5:45 pm

  • Quote

Post by rollingstone » Tue Aug 14, 2007 5:44 am

Thanks. I will try to rebuild openoffice later. For now I use koffice.
Top
Locked

4 posts • Page 1 of 1

Return to “Gentoo on AMD64”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic