Yes, it works thanks. But man we are not supposed to be wizards when 
reading the docs. 

terça-feira, 17 de Novembro de 2015 às 14:36:39 UTC, [email protected] 
escreveu:
>
>
> julia> find_library(["libgmt.dylib"],["/Users/j/programs/gmt5/lib"])
>
> should do the trick. The docs at least imply that both arguments should be 
> vectors -- for one because of the plural and locations is supposed to be a 
> list.
>
> Am Dienstag, 17. November 2015 15:24:38 UTC+1 schrieb J Luis:
>>
>> The doc 
>> <http://docs.julialang.org/en/release-0.4/stdlib/libdl/?highlight=libdl#Libdl.find_library>
>>
>> julia> find_library("libgmt.dylib","/Users/j/programs/gmt5/lib")
>> ERROR: MethodError: `find_library` has no method matching 
>> find_library(::ASCIIString, ::ASCIIString)
>> you may have intended to import Base.find_library
>>  in find_library at deprecated.jl:32
>>
>> julia> Libdl.find_library("libgmt.dylib","/Users/j/programs/gmt5/lib")
>> ERROR: MethodError: `find_library` has no method matching 
>> find_library(::ASCIIString, ::ASCIIString)
>> you may have intended to import Base.find_library
>>
>> julia> Base.find_library("libgmt.dylib","/Users/j/programs/gmt5/lib")
>> ERROR: MethodError: `find_library` has no method matching 
>> find_library(::ASCIIString, ::ASCIIString)
>> you may have intended to import Base.find_library
>>  in find_library at deprecated.jl:32
>>
>>
>> julia> Libdl.find_library(libgmt.dylib,"/Users/j/programs/gmt5/lib")
>> ERROR: UndefVarError: libgmt not defined
>>
>> (but it is there)
>>
>> Thanks
>>
>

Reply via email to