Re: Need help in installing GLPK-java in mac os x 10.7.5

Heinrich Schuchardt <[email protected]>
Newsgroups gmane.comp.gnu.glpk
Message-ID <[email protected]>
Hello Syed,

the *.dylib  files for GLPK and GLPK for Java must be in the search path
for binary libraries.

The relevant environment variables can be found in

https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/UsingDynamicLibraries.html

Best regards

Heinrich

On 01/25/2018 05:14 AM, Syed Reazul Elahee wrote:
> Thank you . I have successfully build glpk-java in my mac . I can see
> glpsol version from terminal .
> 
> glpk-java-javadoc.jar,glpk-java-sources.jar and glpk-java.jar files
> created inside swig directory .
> 
> i have used this jars in my java project . when i run my project i am
> getting a new error message
> 
> " *The dynamic link library for GLPK for java could not be loaded .
> Consider using java -Djava.library.path=The current value of system
> property java.library.path is :
> /Users/elahee/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.*"
> 
> 
> any solution ?
> 
> 
> On বুধবার 24 জানু 2018 03:25 অপরাহ্ণ, Heinrich Schuchardt wrote:
>> Did you install the JDK?
>>
>> Did you export the necessary environment variables?
>>
>> http://glpk-java.sourceforge.net/gettingStarted.html
>>
>> The paths to jni.h differ between Linux and OS X.
>>
>> Am 24.01.18, 09:58, Syed Reazul Elahee <[email protected]>
>> schrieb:
>>
>>     i have downloaded libglpk-java-1.11.0 and tried to configure . but
>>     it is giving an error , saying "*jni.h not found* " .
>>
>>     What to do next ?
>>
>>
>>     On বুধবার 24 জানু 2018 11:17 পূর্বাহ্ণ, Heinrich Schuchardt wrote:
>>>     Hello Syed,
>>>
>>>     brew install swig
>>>
>>>     then build GLPK for Java from source available at
>>>     http://glpk-java.sourceforge.net/
>>>
>>>     Best regards
>>>
>>>     Heinrich
>>>     Am 24.01.18, 06:00, Syed Reazul Elahee
>>>     <[email protected]> schrieb:
>>>
>>>         Hello ,
>>>
>>>         I have successfully installed glpk in mac osx 10.7.5 by*brew
>>>         install glpk* comand . From terminal i can see glpk version
>>>         *4.64***by typing*glpsol* comand .
>>>
>>>         Now i need glpk-jar jar files to add in my netbeans project .
>>>         But i do not find any jar for mac .Do i have to build jar
>>>         from source ? if yes , the how ?
>>>
>>>         Please help
>>>
>>>         -- 
>>>
>>>         Syed Reazul Elahee
>>>         Trainee Programmer
>>>         Sysnova Information Systems Limited
>>>         (Sister concern of Kazi Farms Group)
>>>         Ahmad and Kazi Tower
>>>         35 Dhanmandi Road 2
>>>         Dhaka 1205
>>>         Bangladesh
>>>         www.sysnova.com
>>>
>>>         _______________________________________________ Help-glpk
>>>         mailing list [email protected]
>>>         https://lists.gnu.org/mailman/listinfo/help-glpk 
>>>
>>
>>     -- 
>>
>>     Syed Reazul Elahee
>>     Trainee Programmer
>>     Sysnova Information Systems Limited
>>     (Sister concern of Kazi Farms Group)
>>     Ahmad and Kazi Tower
>>     35 Dhanmandi Road 2
>>     Dhaka 1205
>>     Bangladesh
>>     www.sysnova.com
>>
> 
> -- 
> 
> Syed Reazul Elahee
> Trainee Programmer
> Sysnova Information Systems Limited
> (Sister concern of Kazi Farms Group)
> Ahmad and Kazi Tower
> 35 Dhanmandi Road 2
> Dhaka 1205
> Bangladesh
> www.sysnova.com
> 


_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.