bugDotGNU Portable.NET - Bugs: bug #1856, Library search failure (0.4.8)

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #1856: Library search failure (0.4.8)

Submitted by:  Stephen Compall <S11001001>
Submitted on:  Mon 02 Dec 2002 06:48:13 PM UTC  
 
Category: NoneSeverity: 1,5
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed 11 Dec 2002 12:51:18 AM UTC, comment #5:

Not a bug. The ~ character is a feature of the shell,
not the operating system. The OS and make won't expand
tildes in symlinks. You must use the full path in
your makefile.

Rhys Weatherley <rweather>
Project Administrator
Wed 11 Dec 2002 12:10:27 AM UTC, comment #4:

Ok, after trying out several things, this appears to be either a bug in the OS code that follows symlinks, or a feature therein, or a bug/feature in make. See the source for the test at http://csserver.evansville.edu/~sc87/dotgnu/symlink-follow-bug.tar.gz

That is to say, when a symlink contains the ~ expansion character, where you might expect an open operation on the symlink to expand that tilde, it doesn't.

Where do you think I should take this one?

Stephen Compall <S11001001>
Project Member
Mon 09 Dec 2002 10:39:40 PM UTC, comment #3:

I will post here tomorrow after running some more tests when I am sure about this, because I think this affects both .dll and .so loading when certain strange but valid symlinks are being used. But I hate to wild-guess with nothing to back it up....

If it is a feature, then the underlying errno shouldn't be ENOENT (as I am guessing it is), so at least that much is a bug, somewhere.

At least this bug gave me a chance to try out PInvoke! :)

Stephen Compall <S11001001>
Project Member
Sun 08 Dec 2002 10:20:23 PM UTC, comment #2:

Can you produce a simpler test case that does not involve
dotgnu.xml? I'm trying to isolate whether this is a bug
in the pnet core or something else.

Rhys Weatherley <rweather>
Project Administrator
Mon 02 Dec 2002 07:20:55 PM UTC, comment #1:

When I ran it, then, it failed again in the same fashion:

[sirian@antares xml2html]$ ilrun dghtml.exe -i ${dotgnu_website_html}/xml/src/see.xml -o ${dotgnu_website_html}/see.html -t ${dotgnu_website_html}/xml/src/template_html4.xml -p ${dotgnu_website_html}/xml/src/
libxml_wrapper.so: libxml_wrapper.so: cannot open shared object file: No such file or directory
Uncaught exception: System.MissingMethodException: Attempted to access a non-existing method

Stephen Compall <S11001001>
Project Member
Mon 02 Dec 2002 06:48:13 PM UTC, original submission:

Trying to build xml2html in the DotGNU site source tree, with a built dotgnu.xml.dll and Makefile appropriately hacked, I got this from make:

ln -sf ~/src/dotgnu/dotgnu.xml/dotgnu.xml/dotgnu.xml.dll .
ln -sf ~/src/dotgnu/dotgnu.xml/wrapper/libxml_wrapper.so .
cscc -g -o dghtml.exe FileNode.cs FileTable.cs Main.cs StringNode.cs StringTable.cs Utils.cs Var.cs VarTable.cs VarValNode.cs -L. -ldotgnu.xml.dll
dotgnu.xml.dll: No such library
make: *** [dghtml.exe] Error 1

The symlinks made in the first lines are in perfect working order. Surprisingly, I then tried `ildd' and got this:

[sirian@antares xml2html]$ ildd ./dotgnu.xml.dll
./dotgnu.xml.dll: No such file or directory

After I made a full copy of dotgnu.xml.dll to the xml2html directory, the build worked fine.

Stephen Compall <S11001001>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 11 Dec 2002 12:51:18 AM UTCrweatherStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1