pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problem with depending on sysutils/file



Jens Rehsack wrote:
Hi all,

I'm creating a small perl module to use libmagic to avoid massive forking.
Because we're using in our environment, I created a small pkg (Perl module
is not uploaded to CPAN, so it can't work for anyone except us!) and added
 > .include "../../sysutils/file/buildlink3.mk"
before the
 > .include "../../lang/perl5/module.mk"
line, which is more or less mandatory for each perl pkg. But bmake didn't
recognize the dependency. On our RHEL4 machines, the OS has an file-4.10,
which may be found and accepted, because sysutils/file/buildlink3.mk
requires older versions for compatibility:
 > BUILDLINK_API_DEPENDS.file+=    file>=4.09
 > BUILDLINK_ABI_DEPENDS.file+=    file>=4.09nb1
I increased these numbers up to the current version of file (4.26 - patch
attached until current steps), but no change - sysutils/file is not added
to dependencies.

Any idea what I must do to get a reliable dependency added?
The next problem is, if I simply install sysutils/file and install my
File::Magic module, it links against /opt/pkgsrc/lib/libmagic.so and
displays a dynamic linker error, when this file (/opt/pkgsrc/lib/libmagic.so)
is not available (but /usr/lib64/libmagic.so is).

Best regards,
Jens

Hi,

maybe someone could help me by telling me where I can start to search.

/Jens


Home | Main Index | Thread Index | Old Index