X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Jacob Kolding Subject: dlopen problems Date: Wed, 29 Mar 2006 08:55:56 +0000 (UTC) Lines: 28 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello I'm currently trying to port a 3d engine from linux to cygwin and I have some trouble with the dlfcn.h functions. My main program loads a module via dlopen which works fine in linux, but under cygwin I get an error "No such file or directory" when I try to load a module.dll just for the heck of I i tried to load a non shared binary. This gives the error "Permmision denied" I link my main program with g++ -Wl,-E,--output-def=file.def then I run dlltool -d file.def -l file.a and then compile and link the module with g++ -shared module.cpp -o module.dll file.a this all compiles and links fine. However the above error message haunts me... Can anyone explain to me how dlopen works in cygwin? /Jacob Kolding -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/