Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234719 - dev-db/pgmecab-1.1 doesn't work with postgresql-8.2 (and later)
Summary: dev-db/pgmecab-1.1 doesn't work with postgresql-8.2 (and later)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-14 10:21 UTC by Masatomo Nakano
Modified: 2008-08-14 23:54 UTC (History)
0 users

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


Attachments
fix PG_MODULE_MAGIC problem (mecab.patch,341 bytes, patch)
2008-08-14 10:24 UTC, Masatomo Nakano
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Masatomo Nakano 2008-08-14 10:21:56 UTC
mydb=# CREATE FUNCTION pgmecab(TEXT) RETURNS TEXT
mydb-# AS '/usr/lib64/postgresql/pgmecab.so', 'pgmecab'
mydb-# LANGUAGE C IMMUTABLE STRICT;
ERROR:  incompatible library "/usr/lib64/postgresql/pgmecab.so": missing magic block
HINT:  Extension libraries are required to use the PG_MODULE_MAGIC macro.
mydb=#


To avoid this problem, you need to modify pgmecab.c a little bit.
See attachment please.

Reproducible: Always
Comment 1 Masatomo Nakano 2008-08-14 10:24:28 UTC
Created attachment 162880 [details, diff]
fix  PG_MODULE_MAGIC problem
Comment 2 MATSUU Takuto (RETIRED) gentoo-dev 2008-08-14 23:54:59 UTC
in cvs.