| Author |
xgawk: fatal: extension: cannot find dynamic library `xml'
|
|
| poulteki 2006-06-24, 6:56 pm |
| Hi,
I think I have configured and make xgawk 3.1.5 properly, but I face
this errror, and can't fin any help on internet :
$ xgawk -l xml -f parse.awk SCHED.xml
xgawk: fatal: extension: cannot find dynamic library `xml'
Could you help me ?
Thanks...
| |
| Jürgen Kahrs 2006-06-24, 6:56 pm |
| poulteki wrote:
> I think I have configured and make xgawk 3.1.5 properly, but I face
> this errror, and can't fin any help on internet :
>
> $ xgawk -l xml -f parse.awk SCHED.xml
> xgawk: fatal: extension: cannot find dynamic library `xml'
This message appears when you have built xgawk,
but not installed it yet. There are three possible
ways of solving the problem:
1. change your original command line to
./gawk -l extension/.libs/libxml.so.0 -f parse.awk SCHED.xml
2. do "configure ; make install" as user root and
use the command line that you mentioned above
3. do "configure --prefix=/tmp/xgawk ; make install"
and then use the /tmp/xgawk/bin/xgawk executable
If this doesnt help, then the XML parser was probably
not detected correctly and therefore not installed
with xgawk.
| |
| poulteki 2006-07-01, 3:56 am |
| Thanks J=FCrgen.
I finally export LD_LIBRARY_PATH to /usr/local/lib, and it worked.
But I didn't sucedeed with Cygwin (Permissin denied).
May be it should be good to have a small paragraph about compilation on
plateforms ?
Have a nice day.
Olivier
| |
| Jürgen Kahrs 2006-07-01, 6:56 pm |
| poulteki wrote:
> I finally export LD_LIBRARY_PATH to /usr/local/lib, and it worked.
> But I didn't sucedeed with Cygwin (Permissin denied).
>
> May be it should be good to have a small paragraph about compilation on
> plateforms ?
Yes, perhaps we should add such a section to the manual.
These problem are neither xgawk nor OS-specific, but
definitely user-specific. But some hints may really be
helpful.
| |
| Stephan Titard 2006-07-03, 7:56 am |
| Jürgen Kahrs escribió:
> poulteki wrote:
>
>
> Yes, perhaps we should add such a section to the manual.
> These problem are neither xgawk nor OS-specific, but
> definitely user-specific. But some hints may really be
> helpful.
on cygwin you will need to "register" any dll
maybe *rebase* can work for you -- read carefully the docs
--stephan
| |
| Jürgen Kahrs 2006-07-04, 6:56 pm |
| Stephan Titard wrote:
> on cygwin you will need to "register" any dll
> maybe *rebase* can work for you -- read carefully the docs
Do you have a link to the docs ?
Thanks for posting.
| |
| Stephan Titard 2006-07-05, 6:56 pm |
| Jürgen Kahrs escribió:
> Stephan Titard wrote:
>
>
> Do you have a link to the docs ?
> Thanks for posting.
well actually there is no man page
on my cygwin, cygcheck says rebase is actually a package
% stephan@armen (/home/stephan) %
% cygcheck -srv | grep rebase
rebase 2.4.2-1
on the cygwin site www.cygwin.com, in the "setup package search" link
(which is rather named poorly, as even I who kwows it's there spend 10
minutes to find it each time :() you can get to the rebase package
http://cygwin.com/packages/rebase/
actually I needed it only once in the last 5 years!
there is also a rebaseall command
maybe the OP can tell us if moving all the needed dlls in the same
directory as xgawk works
shipping only gawk and all the needed cygwin dlls does work and I use
it often to help some friends (usually I add also bash o ksh93)
I haven't found the time to play with xgawk yet, but it does indeed seems
**very interesting**
hth
--stephan
| |
| Stephan Titard 2006-07-05, 6:56 pm |
| Stephan Titard escribió:
> Jürgen Kahrs escribió:
> well actually there is no man page
>
> on my cygwin, cygcheck says rebase is actually a package
>
> % stephan@armen (/home/stephan) %
> % cygcheck -srv | grep rebase
> rebase 2.4.2-1
>
> on the cygwin site www.cygwin.com, in the "setup package search" link
> (which is rather named poorly, as even I who kwows it's there spend 10
> minutes to find it each time :() you can get to the rebase package
> http://cygwin.com/packages/rebase/
>
> actually I needed it only once in the last 5 years!
> there is also a rebaseall command
>
> maybe the OP can tell us if moving all the needed dlls in the same
> directory as xgawk works
>
> shipping only gawk and all the needed cygwin dlls does work and I use
> it often to help some friends (usually I add also bash o ksh93)
>
> I haven't found the time to play with xgawk yet, but it does indeed seems
> **very interesting**
>
> hth
> --stephan
>
>
for completeness
% stephan@armen (/home/stephan) %
% gawk --v | head -n 2
GNU Awk 3.1.5
Copyright (C) 1989, 1991-2005 Free Software Foundation.
% stephan@armen (/home/stephan) %
% cygcheck /usr/bin/gawk
C:/cygwin/bin/gawk.exe
C:/cygwin/bin\cygwin1.dll
C:\WINDOWS\system32\ADVAPI32.DLL
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\RPCRT4.dll
C:/cygwin/bin\cygintl-3.dll
C:/cygwin/bin\cygiconv-2.dll
....to find out what gawk uses that is *not* given by the system
| |
| Jürgen Kahrs 2006-07-06, 6:56 pm |
| Stephan Titard wrote:
> for completeness
> % stephan@armen (/home/stephan) %
> % gawk --v | head -n 2
> GNU Awk 3.1.5
> Copyright (C) 1989, 1991-2005 Free Software Foundation.
>
> % stephan@armen (/home/stephan) %
> % cygcheck /usr/bin/gawk
> C:/cygwin/bin/gawk.exe
> C:/cygwin/bin\cygwin1.dll
> C:\WINDOWS\system32\ADVAPI32.DLL
> C:\WINDOWS\system32\ntdll.dll
> C:\WINDOWS\system32\KERNEL32.dll
> C:\WINDOWS\system32\RPCRT4.dll
> C:/cygwin/bin\cygintl-3.dll
> C:/cygwin/bin\cygiconv-2.dll
> ...to find out what gawk uses that is *not* given by the system
Thanks for posting. I have inserted this into
a new section in the manual. The problem with
many other Cygwin users is always the same:
Once they've got it running, they can't remember
how they fixed the problem.
|
|
|
|