Re: Problems Printing

2013-03-11 Thread Bernt Hansson

2013-03-05 09:10, Joseph A. Nagy, Jr skrev:

Cups is setup so I should be able to print:
http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png

My pdf reader sees the printer:
http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png

yet it won't print and delivers this dialog:
http://www.joseph-a-nagy-jr.us/images/problems/print-error.png

any ideas on how to correct this?


http://www.openprinting.org/printer/Canon/Canon-PIXMA_MP210
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: growisofs does not burn folders correctly all files are flat on the disk no folders

2013-03-11 Thread CeDeROM
On Mon, Mar 11, 2013 at 5:52 AM, Bernt Hansson b...@bananmonarki.se wrote:
 2013-03-10 21:07, CeDeROM skrev:
 I have problem with growisofs - I get all files flat on the disk there
 are no directories as on the source drive :-( I had this once with BD
 and once with DVD disk on my new 9.1-RELEASE machine.
 Make an ISO file first, then burn.

Yea I will try that way to see what is wrong, but I hoped maybe
someone had this problem also and found the solution :-)

Best regards :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: growisofs does not burn folders correctly all files are flat on the disk no folders

2013-03-11 Thread Fabian Keil
CeDeROM cede...@tlen.pl wrote:

 I have problem with growisofs - I get all files flat on the disk there
 are no directories as on the source drive :-( I had this once with BD
 and once with DVD disk on my new 9.1-RELEASE machine.
 
 growisofs -Z/dev/cd2 -dvd-compat -R -J -iso-level 3 -udf *
 
 % growisofs --version
 * growisofs by ap...@fy.chalmers.se, version 7.1,
   front-ending to mkisofs: mkisofs 3.00 (amd64-unknown-freebsd9.1)
 Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2010 J�rg Schilling
 
 Any hints welcome :-)

I've never used growisofs, but given that it's a mkisofs front-end
I suspect that you may want to change the pathspec from * to the
path to the directory that contains the directory structure you want
on the disc.

For example ., if it's also the current working directory.

For details see mkisofs(8).

Fabian


signature.asc
Description: PGP signature


Re: Problems Printing

2013-03-11 Thread Joseph A. Nagy, Jr

On 03/11/13 00:26, Bernt Hansson wrote:

2013-03-10 20:26, Joseph A. Nagy, Jr skrev:


D [10/Mar/2013:14:18:04 -0500] [Job 12] Running /usr/local/bin/espgs
-dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS
-sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c -


What happens when you run this from a prompt.



D [10/Mar/2013:14:18:04 -0500] [Job 12] Shared object libgnutls.so.47
not found, required by rastertogutenprint.5.2
D [10/Mar/2013:14:18:04 -0500] [Job 12] Shared object libgnutls.so.47
not found, required by espgs
printer-state-message=/usr/local/libexec/cups/filter/rastertogutenprint.5.2

failed
D [10/Mar/2013:14:18:04 -0500] [Job 12] printer-state-reasons=none


This doesn't look right. Do you have gnutls installed?


Still no printing going on.


# /usr/local/bin/espgs -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH 
-dNOMEDIAATTRS  -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c -

Shared object libgnutls.so.47 not found, required by espgs

I thought at one point I did, but apparently not. Will re-install after 
I finish running the updates currently going on.

--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL 
http://copyfree.org/licenses/owl/license.txt

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-11 Thread Fbsd8

Ben Cottrell wrote:

On Mar 10, 2013, at 19:18, Fbsd8 fb...@a1poweruser.com wrote:

What is really needed is for the tzsetup program to state which east coast 
selections have day light saving included. Maybe a pr is in order.


Nope, you pretty conclusively proved that you're using the right
time zone setting. Trust me. :-) That md5 you posted is the exact
same md5 that's on my own system. My own America/New_York is
doing just fine, thank you. ;-)

Something else is going on. *What*, I don't know. But you chose
the right time zone in tzsetup and that time zone description
file definitely does have DST rules in it.

I never use the wall_cmos_clock setting, because I don't trust
it -- at least with the traditional behavior (wall_cmos_clock=0)
I know *exactly* what's going on. I really don't know what is
happening under the hood when that's turned on, so I have no
idea if it could be related or not. But I'm curious what
it shows if you run:

sysctl machdep.wall_cmos_clock

~Ben




sysctl machdep.wall_cmos_clock returned 0


Ran this little test.
Last night before turning off my system I used the date command to set 
the date to 3/9 with the correct DST. This morning when I turned on my 
system the time had advanced by one hour. So this proves that the time 
zone setting does have DST in it and every thing worked as expected.


Even though the system is now on DST the date command still displays 
EDT. Does the date command ever show DST?


Now about the question of why did the time not jump forward on the date 
it was suppose to?


It all boils down to this, On 3/9 I did not check the time. I just 
expected it to be correct. Even though the date and time is displayed 
every morning when I boot my system, I have never in 20 years taken the 
time to verify if its correct on any of the many PCs I have used.


It is totally possible that the system time was incorrect and I was just 
not aware of it before DST went into effect, after which I checked the 
time as I did with all the other clocks in the house.


So for now, thats how I am leaving things.







___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9 and Windows XP

2013-03-11 Thread Eduardo Morras
On Sat,  9 Mar 2013 12:07:41 -0800 (PST)
leeoliveshackelf...@surewest.net wrote:

 Good afternoon, FreeBSD enthusiasts.  Can FreeBSD 9.1 be installed on a 
 computer on which Windows XP currently resides?  If so, how can this 
 installation be done?  In particular, is there a way to install 9.1 so that 
 it can be booted from the traditional master boot record?  It is important 
 that, when I am done, I can still boot to Windows XP, as I must run some 
 applications not available on FreeBSD.  If the idea I am proposing is not 
 feasible with version 9.1, will it work with 8.3?  Any comments are 
 appreciated.  If this question has already been asked many times before, 
 please just let me know where to look to find the answer.  Thanks.  Newbie502


As an addon to other answers, you can install VirtualBox, create a minimal hard 
disk with MBR boot menu that points to the WindowsXP partition. This way you 
don't need to restart in WinXP. The same can be done from WinXP side, a minimal 
hd with MBR boot menu to startup the FreeBSD.


---   ---
Eduardo Morras emorr...@yahoo.es
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9 and Windows XP

2013-03-11 Thread Ralf Mardorf
On Mon, 2013-03-11 at 13:51 +0100, Eduardo Morras wrote:
 As an addon to other answers, you can install VirtualBox, create a
 minimal hard disk with MBR boot menu that points to the WindowsXP
 partition. This way you don't need to restart in WinXP. The same can
 be done from WinXP side, a minimal hd with MBR boot menu to startup
 the FreeBSD.

This does work?

I've got XP as VBox's vdi and just a folder to share content with *nix.
It would be possible to install XP bootable without VBox to a ntfs
partition, to boot it directly and if wanted, to use it also as guest in
VBox?

I only use VBox to get applications for an iPad and to copy PDFs to an
iPad, since ad-hoc networks until now never worked for me, but I also
would like to test hardware sometimes, impossible with VBox, so
sometimes it would be nice to have a real Windows install.

If this should work, will it become impossible to use snapshots made by
VBox? Will there be no confusion regarding to different drivers for the
XP booted as VBox guest and booted directly?

Regards,
Ralf

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9 and Windows XP

2013-03-11 Thread Eduardo Morras
On Mon, 11 Mar 2013 14:14:05 +0100
Ralf Mardorf ralf.mard...@rocketmail.com wrote:

 On Mon, 2013-03-11 at 13:51 +0100, Eduardo Morras wrote:
  As an addon to other answers, you can install VirtualBox, create a
  minimal hard disk with MBR boot menu that points to the WindowsXP
  partition. This way you don't need to restart in WinXP. The same can
  be done from WinXP side, a minimal hd with MBR boot menu to startup
  the FreeBSD.
 
 This does work?

I followed the instructions (only once) from this page 
http://geekery.amhill.net/2010/01/27/virtualbox-with-existing-windows-partition/
 and it works under FreeBSD 8.3 and WinXP. 

 I've got XP as VBox's vdi and just a folder to share content with *nix.
 It would be possible to install XP bootable without VBox to a ntfs
 partition, to boot it directly and if wanted, to use it also as guest in
 VBox?

I use it that way, my set up is 2 primary mbr partitions, one with XP ntfs, the 
other with FreeBSD ufs2+su. VBox installed on both.

 
 I only use VBox to get applications for an iPad and to copy PDFs to an
 iPad, since ad-hoc networks until now never worked for me, but I also
 would like to test hardware sometimes, impossible with VBox, so
 sometimes it would be nice to have a real Windows install.
 
 If this should work, will it become impossible to use snapshots made by
 VBox? Will there be no confusion regarding to different drivers for the
 XP booted as VBox guest and booted directly?

Don't know if VBox snapshots are usable, never tried. 

There's no confusion, WinXP access directly to the XP partition and FreeBSD to 
FreeBSD partition. If you don't play with VBox internal commands you are safe. 
I got a dirty fs on FreeBSD when WinXP crashed once.

HTH

 Regards,
 Ralf

---   ---
Eduardo Morras emorr...@yahoo.es
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9 and Windows XP

2013-03-11 Thread Ralf Mardorf
On Mon, 2013-03-11 at 14:31 +0100, Eduardo Morras wrote:
 On Mon, 11 Mar 2013 14:14:05 +0100
 Ralf Mardorf ralf.mard...@rocketmail.com wrote:
 
  On Mon, 2013-03-11 at 13:51 +0100, Eduardo Morras wrote:
   As an addon to other answers, you can install VirtualBox, create a
   minimal hard disk with MBR boot menu that points to the WindowsXP
   partition. This way you don't need to restart in WinXP. The same
 can
   be done from WinXP side, a minimal hd with MBR boot menu to
 startup
   the FreeBSD.
  
  This does work?
 
 I followed the instructions (only once) from this page
 http://geekery.amhill.net/2010/01/27/virtualbox-with-existing-windows-partition/
  and it works under FreeBSD 8.3 and WinXP. 
 
  I've got XP as VBox's vdi and just a folder to share content with
 *nix.
  It would be possible to install XP bootable without VBox to a ntfs
  partition, to boot it directly and if wanted, to use it also as
 guest in
  VBox?
 
 I use it that way, my set up is 2 primary mbr partitions, one with XP
 ntfs, the other with FreeBSD ufs2+su. VBox installed on both.
 
  
  I only use VBox to get applications for an iPad and to copy PDFs to
 an
  iPad, since ad-hoc networks until now never worked for me, but I
 also
  would like to test hardware sometimes, impossible with VBox, so
  sometimes it would be nice to have a real Windows install.
  
  If this should work, will it become impossible to use snapshots made
 by
  VBox? Will there be no confusion regarding to different drivers for
 the
  XP booted as VBox guest and booted directly?
 
 Don't know if VBox snapshots are usable, never tried. 
 
 There's no confusion, WinXP access directly to the XP partition and
 FreeBSD to FreeBSD partition. If you don't play with VBox internal
 commands you are safe. I got a dirty fs on FreeBSD when WinXP crashed
 once.

Thank you :)

I'll flag your reply as useful information, perhaps I come back to
that later.

Regards,
Ralf

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to know % of read file in cat?

2013-03-11 Thread Richard Tobin
 I use cat to read a file and pass it to another app, the command is this:
 
 camibar% cat file.git | fossil import --git file.fossil
 
 It takes a lot of time, file.git is 12GB, and i want to know if
 there's some 'magic' trick can I use to show me how many bytes or
 the % of the file.git cat sent to the other app.

Use dd (see man page) instead of cat, and control-T will show you how
much it has transferred.

-- Richard

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-11 Thread Noel
On 3/11/2013 7:49 AM, Fbsd8 wrote:

 Even though the system is now on DST the date command still
 displays EDT. Does the date command ever show DST?

EDT = Eastern Daylight Time timezone
not to be confused with
EST = Eastern Standard Time timezone
not to be confused with
DST = daylight savings time, not a timezone, never shown on a computer.

Your system correctly switched to daylight savings time, as verified
by the EDT timezone indicator.  Most likely the clock was already an
hour slow before the time change.



  -- Noel Jones


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-11 Thread Peter A. Giessel

On 2013, Mar 11, at 4:49, Fbsd8 wrote:

 Even though the system is now on DST the date command still displays EDT. 
 Does the date command ever show DST?


EST = Eastern Standard Time
EDT = Eastern Daylight Savings Time

EDT = Daylight Savings.  Your date command is showing DST.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-11 Thread Jerry
On Mon, 11 Mar 2013 09:18:23 -0500
Noel articulated:

 On 3/11/2013 7:49 AM, Fbsd8 wrote:
 
  Even though the system is now on DST the date command still
  displays EDT. Does the date command ever show DST?
 
 EDT = Eastern Daylight Time timezone
 not to be confused with
 EST = Eastern Standard Time timezone
 not to be confused with
 DST = daylight savings time, not a timezone, never shown on a
 computer.
 
 Your system correctly switched to daylight savings time, as verified
 by the EDT timezone indicator.  Most likely the clock was already an
 hour slow before the time change.

Just wondering, but do you have NTP running to keep the time accurate?

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: FreeBSD 9 and Windows XP

2013-03-11 Thread Carl Johnson
Eduardo Morras emorr...@yahoo.es writes:

 On Sat,  9 Mar 2013 12:07:41 -0800 (PST)
 leeoliveshackelf...@surewest.net wrote:

 Good afternoon, FreeBSD enthusiasts.  Can FreeBSD 9.1 be installed on
 a computer on which Windows XP currently resides?  If so, how can
 this installation be done?  In particular, is there a way to install
 9.1 so that it can be booted from the traditional master boot record?
 It is important that, when I am done, I can still boot to Windows
 XP, as I must run some applications not available on FreeBSD.  If the
 idea I am proposing is not feasible with version 9.1, will it work
 with 8.3?  Any comments are appreciated.  If this question has
 already been asked many times before, please just let me know where
 to look to find the answer.  Thanks.  Newbie502


 As an addon to other answers, you can install VirtualBox, create a
 minimal hard disk with MBR boot menu that points to the WindowsXP
 partition. This way you don't need to restart in WinXP. The same can
 be done from WinXP side, a minimal hd with MBR boot menu to startup
 the FreeBSD.

It is my understanding that FreeBSD doesn't allow using part of a disk,
but grabs the entire disk.  That means that VirtualBox can't use
partitions on a disk that any other partitions are being used by
anything else, including FreeBSD itself.  Am I wrong about this?  I use
VirtualBox using vdmk for an entire disk, but I have never been able to
share with anything else.
-- 
Carl Johnsonca...@peak.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9 and Windows XP

2013-03-11 Thread Ralf Mardorf
On Mon, 2013-03-11 at 09:05 -0700, Carl Johnson wrote:
 It is my understanding that FreeBSD doesn't allow using part of a disk,
 but grabs the entire disk.  That means that VirtualBox can't use
 partitions on a disk that any other partitions are being used by
 anything else, including FreeBSD itself.  Am I wrong about this?  I use
 VirtualBox using vdmk for an entire disk, but I have never been able to
 share with anything else.

No, this is a misunderstanding. The primary below [1] is the ufs
including my FreeBSD, it's just that Linux's parted doesn't show it
(gparted does show) and I can't access BSD by my Linux installs. And no,
the ntfs isn't Windows.

FWIW my old drives have only one primary and a extended + tons of
logical partitions, but I started to partition new drives with 3 primary
and one extended including as much logical partitions as needed [2].

To have one partition that can be accessed by the BIOS I format one with
fat32, since it can't access ntfs partitions. Most Linux use ext4 by
default, I've got ext3 and ext4, because FreeBSD can share ext3
partitions without issues with Linux.

I'm using GRUB2 from Linux to boot FreeBSD [3], it's sharing a drive
with several Linux installs, more installs anybody does need ;). I'm not
maintaining all installs.

Regards,
Ralf

[1]
[rocketmouse@archlinux ~]$ sudo parted /dev/sda print
Model: ATA SAMSUNG HD321KJ (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End SizeType  File system Flags
 1  32.3kB  62.1GB  62.1GB  primary   boot
 2  62.1GB  320GB   258GB   extended
 5  62.1GB  94.1GB  32.0GB  logical   ntfs
 6  94.1GB  126GB   32.1GB  logical   ext3
 7  126GB   158GB   32.2GB  logical   ext3
 8  158GB   185GB   27.0GB  logical   ext3
 9  185GB   223GB   37.7GB  logical   ext3
10  223GB   225GB   2328MB  logical   linux-swap(v1)
11  225GB   288GB   62.3GB  logical   ext3
12  288GB   291GB   3759MB  logical   ext3
13  291GB   315GB   23.7GB  logical   ext3
14  315GB   320GB   4927MB  logical   ext3

[2]
[rocketmouse@archlinux ~]$ sudo parted /dev/sdc print
Model: WD Ext HDD 1021 (scsi)
Disk /dev/sdc: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End SizeType  File system Flags
 1  1049kB  68.0GB  68.0GB  primary   ext3
 2  68.0GB  138GB   69.6GB  primary   ext4
 3  138GB   413GB   276GB   primary   ext4
 4  413GB   2000GB  1587GB  extended
 [snip]

[3]
[rocketmouse@archlinux ~]$
cat /run/media/rocketmouse/q/boot/grub/grub.cfg
set timeout=8
set default='0'; if [ x$default = xsaved ]; then load_env; set
default=$saved_entry; fi
set color_normal='light-blue/black'; set
color_highlight='light-cyan/blue'

menuentry FreeBSD{
set root=(hd0,msdos1)
chainloader +1
}

menuentry 'Ubuntu Quantal,kernel 3.6.5-rt14' {
  set root='(hd1,9)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.6.5-rt14' '/boot/vmlinuz-3.6.5-rt14'
'root=/dev/sdb9' 'ro' 'quiet' ''
  legacy_initrd '/boot/initrd.img-3.6.5-rt14'
'/boot/initrd.img-3.6.5-rt14'
  
}

menuentry 'Ubuntu Quantal,kernel 3.5.0-18-lowlatency
threadirqs' {
  set root='(hd1,9)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.5.0-18-lowlatency'
'/boot/vmlinuz-3.5.0-18-lowlatency' 'root=/dev/sdb9' 'ro' 'quiet'
'threadirqs'
  legacy_initrd '/boot/initrd.img-3.5.0-18-lowlatency'
'/boot/initrd.img-3.5.0-18-lowlatency'
  
}

menuentry 'Ubuntu Quantal,kernel 3.5.0-18-lowlatency (recovery
mode)' {
  set root='(hd1,9)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.5.0-18-lowlatency'
'/boot/vmlinuz-3.5.0-18-lowlatency' 'root=/dev/sdb9' 'ro' 'single'
  legacy_initrd '/boot/initrd.img-3.5.0-18-lowlatency'
'/boot/initrd.img-3.5.0-18-lowlatency'
  
}

menuentry 'Ubuntu Studio Quantal, Kernel 3.6.5-rt14' {
  set root='(hd1,13)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.6.5-rt14' '/boot/vmlinuz-3.6.5-rt14'
'root=/dev/sdb13' 'ro' 'quiet'
  legacy_initrd '/boot/initrd.img-3.6.5-rt14'
'/boot/initrd.img-3.6.5-rt14'
  
}

menuentry 'Ubuntu Studio Quantal, Kernel 3.5.0-18-lowlatency
threadirqs' {
  set root='(hd1,13)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.5.0-18-lowlatency'
'/boot/vmlinuz-3.5.0-18-lowlatency' 'root=/dev/sdb13' 'ro' 'quiet'
'threadirqs'
  legacy_initrd '/boot/initrd.img-3.5.0-18-lowlatency'
'/boot/initrd.img-3.5.0-18-lowlatency'
  
}

menuentry 'Ubuntu Studio Precise, Kernel 3.0.30 threadirqs' {
  set root='(hd1,1)'; set legacy_hdbias='0'
  legacy_kernel   '/boot/vmlinuz-3.0.30' '/boot/vmlinuz-3.0.30'
'root=UUID=338316fb-364e-4a43-8deb-738127f878ce' 'ro' 'quiet'
'threadirqs'
  legacy_initrd '/boot/initrd.img-3.0.30' '/boot/initrd.img-3.0.30'
  
}

menuentry 'Ubuntu Studio Precise, Kernel 3.2.0-23-lowlatency
threadirqs' {
  set root='(hd1,1)'; set legacy_hdbias='0'
  legacy_kernel   

Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Jeff Tipton

Hi,

I'm trying to set up security/maia, and this is the error message I get:

Error: shared library mysqlclient.18 does not exist

Of course, the library does exist :(

# ls /usr/local/lib/mysql/
libmysqlclient.a   libmysqlclient_r.a libmysqld.a
libmysqlclient.so  libmysqlclient_r.solibmysqlservices.a
libmysqlclient.so.18   libmysqlclient_r.so.18 plugin

I googled about this, and I found 3 things to try but none of that was 
helpful here:


1. make a link:
ln -s /usr/local/lib/mysql/libmysqlclient.so.18 
/usr/local/lib/libmysqlclient.so.18


2. Check the root's umask and the directory permissions if they are 
correct, and they are:

# umask
22
#ll /usr/local/lib |grep mysql
lrwxr-xr-x   1 root  wheel41 Mar 11 16:25 libmysqlclient.so.18@ 
- /usr/local/lib/mysql/libmysqlclient.so.18

drwxr-xr-x   3 root  wheel   512 Mar 11 16:22 mysql/

# ll /usr/local/lib/mysql/
total 27276
-rw-r--r--  1 root  wheel   4844270 Mar 11 16:17 libmysqlclient.a
lrwxr-xr-x  1 root  wheel20 Mar 11 16:22 libmysqlclient.so@ - 
libmysqlclient.so.18

-rwxr-xr-x  1 root  wheel   3364688 Mar 11 16:22 libmysqlclient.so.18*
lrwxr-xr-x  1 root  wheel16 Mar 11 16:22 libmysqlclient_r.a@ - 
libmysqlclient.a
lrwxr-xr-x  1 root  wheel17 Mar 11 16:22 libmysqlclient_r.so@ - 
libmysqlclient.so
lrwxr-xr-x  1 root  wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ 
- libmysqlclient.so

-rw-r--r--  1 root  wheel  20019340 Mar  7 15:08 libmysqld.a
-rw-r--r--  1 root  wheel  4598 Mar 11 16:17 libmysqlservices.a
drwxr-xr-x  2 root  wheel   512 Mar  8 19:01 plugin/

3. Update the ports tree. Ports tree is up to date.

Could someone, please, suggest what I could try to solve this?

Thanks,
Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OpenVPN vm cant connect to other VM's

2013-03-11 Thread lokada...@gmx.de

On 06.03.2013 11:38, Brent Clark wrote:

Hi guys

Im struggling with a freebsd vm, that I have that I use for a VPN 
connection too, from my workstation to my home LAN. And I was 
wondering if someone could peer review me and my problem.


OpenVPN is working beautifully. I.e. I can connect to some services 
(apache etc) that I run directly on my FreeBSD / openvpn vm.


What im now trying to achieve is that I can connect to other VMs / 
machines on my home LAN.


Im using tun for my VPN, and my pf.conf looks like so (please see the 
nat on ...)


[root@freebsd /usr/home/bclark]# cat  /etc/pf.conf
ext_if=re0
vpn_if=tun0
int_net=10.0.0.0/24
vpn_net=192.168.200.0/24
set skip on lo0
set optimization normal
#set block-policy drop
set limit { states 2, frags 1, src-nodes 2 }
# Normalization: reassemble fragments and resolve or reduce traffic 
ambiguities.

scrub in all
# Translation: specify how addresses are to be mapped or redirected.
# NAT rules
# enabling NAT currently breaks policy based routing
#nat on $ext_if from { $int_net, $vpn_net } to any - ($ext_if)
#nat on tun0 from { 192.168.200.0/24 } to any - (re0)
nat on re0 from { 192.168.200.0/24 } to any - (re0)

table sshguard persist
block in quick on re0 proto tcp from sshguard to any port ssh label 
ssh brute


What am I missing?

If anyone could assist, it would be appreciated.

Kind Regards
Brent Clark


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org



Is sysctl net.inet.ip.forwarding=1 ?
http://www.freebsd.org/doc/handbook/network-natd.html
Have you set your route for 10.8.x.x- subnet to your vpn-host?
Else all your traffic will go to your default gateway and when there is 
no route, it will go ins internet.

Make a test with tcpdump and ping to see, where your traffic is going.

Regards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Jeff Tipton

On 03/11/2013 20:00, Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 12:59 PM, Jeff Tipton wrote:

Hi,

I'm trying to set up security/maia, and this is the error message I
get:

Error: shared library mysqlclient.18 does not exist

Of course, the library does exist :(

# ls /usr/local/lib/mysql/ libmysqlclient.a
libmysqlclient_r.a libmysqld.a libmysqlclient.so
libmysqlclient_r.solibmysqlservices.a libmysqlclient.so.18
libmysqlclient_r.so.18 plugin

I googled about this, and I found 3 things to try but none of that
was helpful here:

1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18
/usr/local/lib/libmysqlclient.so.18

2. Check the root's umask and the directory permissions if they
are correct, and they are: # umask 22 #ll /usr/local/lib |grep
mysql lrwxr-xr-x   1 root  wheel41 Mar 11 16:25
libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18
drwxr-xr-x   3 root  wheel   512 Mar 11 16:22 mysql/

# ll /usr/local/lib/mysql/ total 27276 -rw-r--r--  1 root  wheel
4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x  1 root  wheel
20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18
-rwxr-xr-x  1 root  wheel   3364688 Mar 11 16:22
libmysqlclient.so.18* lrwxr-xr-x  1 root  wheel16 Mar 11
16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x  1 root
wheel17 Mar 11 16:22 libmysqlclient_r.so@ -
libmysqlclient.so lrwxr-xr-x  1 root  wheel17 Mar 11 16:22
libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r--  1 root
wheel  20019340 Mar  7 15:08 libmysqld.a -rw-r--r--  1 root  wheel
4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x  2 root  wheel
512 Mar  8 19:01 plugin/

3. Update the ports tree. Ports tree is up to date.

Could someone, please, suggest what I could try to solve this?

Thanks, Jeff

Hi Jeff,

At what point do you receive the error message?  Is it when you
attempt to run the executable built by the port?  If so, please run
the ldd command against the executable and post the output back here.

Thank you,
Greg


- -- 
Greg Larkin


http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlE+G8kACgkQ0sRouByUApCnLgCgwKZvBM7v60BXemWpG5v3k+IL
A2sAn2+xMhPf4x5bnqt02b+hds1inMUj
=nI5p
-END PGP SIGNATURE-
Thank you, Greg, for the reply. I get the error message while compiling 
security/maia port. mysql client itself is working ok, I can connect to 
my database server.


ldd output:
# ldd /usr/local/bin/mysql
/usr/local/bin/mysql:
libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000)
libz.so.6 = /lib/libz.so.6 (0x800cf5000)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x800f09000)
libm.so.5 = /lib/libm.so.5 (0x801219000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000)
libthr.so.3 = /lib/libthr.so.3 (0x801647000)
libc.so.7 = /lib/libc.so.7 (0x801869000)
libncurses.so.8 = /lib/libncurses.so.8 (0x801bbc000)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9 and Windows XP

2013-03-11 Thread Warren Block

On Mon, 11 Mar 2013, Carl Johnson wrote:


Eduardo Morras emorr...@yahoo.es writes:


On Sat,  9 Mar 2013 12:07:41 -0800 (PST)
leeoliveshackelf...@surewest.net wrote:


Good afternoon, FreeBSD enthusiasts.  Can FreeBSD 9.1 be installed on
a computer on which Windows XP currently resides?  If so, how can
this installation be done?  In particular, is there a way to install
9.1 so that it can be booted from the traditional master boot record?
It is important that, when I am done, I can still boot to Windows
XP, as I must run some applications not available on FreeBSD.  If the
idea I am proposing is not feasible with version 9.1, will it work
with 8.3?  Any comments are appreciated.  If this question has
already been asked many times before, please just let me know where
to look to find the answer.  Thanks.  Newbie502



As an addon to other answers, you can install VirtualBox, create a
minimal hard disk with MBR boot menu that points to the WindowsXP
partition. This way you don't need to restart in WinXP. The same can
be done from WinXP side, a minimal hd with MBR boot menu to startup
the FreeBSD.


It is my understanding that FreeBSD doesn't allow using part of a disk,
but grabs the entire disk.  That means that VirtualBox can't use
partitions on a disk that any other partitions are being used by
anything else, including FreeBSD itself.  Am I wrong about this?  I use
VirtualBox using vdmk for an entire disk, but I have never been able to
share with anything else.


It's very hard to tell what situation is being described here.  If the 
VMDK is a pointer to a whole physical disk, that would probably make the 
disk only usable by one VM.  It should be possible to make the VMDK 
point to just one partition on the disk.  Then other VMs or a physical 
machine could use those other partitions while the FreeBSD VM was 
running.


Booting the same Windows install alternately in a VM and then on real 
hardware may trigger the Genuine Advantage annoyance.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 12:59 PM, Jeff Tipton wrote:
 Hi,
 
 I'm trying to set up security/maia, and this is the error message I
 get:
 
 Error: shared library mysqlclient.18 does not exist
 
 Of course, the library does exist :(
 
 # ls /usr/local/lib/mysql/ libmysqlclient.a
 libmysqlclient_r.a libmysqld.a libmysqlclient.so
 libmysqlclient_r.solibmysqlservices.a libmysqlclient.so.18
 libmysqlclient_r.so.18 plugin
 
 I googled about this, and I found 3 things to try but none of that
 was helpful here:
 
 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 
 /usr/local/lib/libmysqlclient.so.18
 
 2. Check the root's umask and the directory permissions if they
 are correct, and they are: # umask 22 #ll /usr/local/lib |grep
 mysql lrwxr-xr-x   1 root  wheel41 Mar 11 16:25
 libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18 
 drwxr-xr-x   3 root  wheel   512 Mar 11 16:22 mysql/
 
 # ll /usr/local/lib/mysql/ total 27276 -rw-r--r--  1 root  wheel
 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x  1 root  wheel
 20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18 
 -rwxr-xr-x  1 root  wheel   3364688 Mar 11 16:22
 libmysqlclient.so.18* lrwxr-xr-x  1 root  wheel16 Mar 11
 16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x  1 root
 wheel17 Mar 11 16:22 libmysqlclient_r.so@ - 
 libmysqlclient.so lrwxr-xr-x  1 root  wheel17 Mar 11 16:22
 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r--  1 root
 wheel  20019340 Mar  7 15:08 libmysqld.a -rw-r--r--  1 root  wheel
 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x  2 root  wheel
 512 Mar  8 19:01 plugin/
 
 3. Update the ports tree. Ports tree is up to date.
 
 Could someone, please, suggest what I could try to solve this?
 
 Thanks, Jeff

Hi Jeff,

At what point do you receive the error message?  Is it when you
attempt to run the executable built by the port?  If so, please run
the ldd command against the executable and post the output back here.

Thank you,
Greg


- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlE+G8kACgkQ0sRouByUApCnLgCgwKZvBM7v60BXemWpG5v3k+IL
A2sAn2+xMhPf4x5bnqt02b+hds1inMUj
=nI5p
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 2:10 PM, Jeff Tipton wrote:
 On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff
 Tipton wrote:
 Hi,
 
 I'm trying to set up security/maia, and this is the error
 message I get:
 
 Error: shared library mysqlclient.18 does not exist
 
 Of course, the library does exist :(
 
 # ls /usr/local/lib/mysql/ libmysqlclient.a 
 libmysqlclient_r.a libmysqld.a libmysqlclient.so 
 libmysqlclient_r.solibmysqlservices.a
 libmysqlclient.so.18 libmysqlclient_r.so.18 plugin
 
 I googled about this, and I found 3 things to try but none of
 that was helpful here:
 
 1. make a link: ln -s
 /usr/local/lib/mysql/libmysqlclient.so.18 
 /usr/local/lib/libmysqlclient.so.18
 
 2. Check the root's umask and the directory permissions if
 they are correct, and they are: # umask 22 #ll /usr/local/lib
 |grep mysql lrwxr-xr-x   1 root  wheel41 Mar 11
 16:25 libmysqlclient.so.18@ -
 /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x   3 root
 wheel   512 Mar 11 16:22 mysql/
 
 # ll /usr/local/lib/mysql/ total 27276 -rw-r--r--  1 root
 wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x  1
 root  wheel 20 Mar 11 16:22 libmysqlclient.so@ -
 libmysqlclient.so.18 -rwxr-xr-x  1 root  wheel   3364688 Mar
 11 16:22 libmysqlclient.so.18* lrwxr-xr-x  1 root  wheel
 16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a
 lrwxr-xr-x  1 root wheel17 Mar 11 16:22
 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x  1 root
 wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ -
 libmysqlclient.so -rw-r--r--  1 root wheel  20019340 Mar  7
 15:08 libmysqld.a -rw-r--r--  1 root  wheel 4598 Mar 11 16:17
 libmysqlservices.a drwxr-xr-x  2 root  wheel 512 Mar  8 19:01
 plugin/
 
 3. Update the ports tree. Ports tree is up to date.
 
 Could someone, please, suggest what I could try to solve
 this?
 
 Thanks, Jeff
 Hi Jeff,
 
 At what point do you receive the error message?  Is it when you 
 attempt to run the executable built by the port?  If so, please
 run the ldd command against the executable and post the output back
 here.
 
 Thank you, Greg
 
 
 -- Greg Larkin
 
 http://www.FreeBSD.org/   - The Power To Serve 
 http://www.sourcehosting.net/ - Ready. Set. Code. 
 http://twitter.com/cpucycle/  - Follow you, follow me Thank
 you, Greg, for the reply. I get the error message while compiling 
 security/maia port. mysql client itself is working ok, I can
 connect to my database server.
 
 ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: 
 libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000) libz.so.6
 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 =
 /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = /lib/libm.so.5
 (0x801219000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000) 
 libthr.so.3 = /lib/libthr.so.3 (0x801647000) libc.so.7 =
 /lib/libc.so.7 (0x801869000) libncurses.so.8 =
 /lib/libncurses.so.8 (0x801bbc000)
 

Hi Jeff,

Can you post the relevant bits of build output where the error message
shows up?  If it happens during the configure phase of the port build,
you'll also want to post the end of the config.log file found in the
port work directory.

Thank you,
Greg


- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlE+IxoACgkQ0sRouByUApB5XQCfcFo9nRCtFzuWJB/yg7tB6W6O
h5MAnAqKEtOUuCwqlf0+HM5GSifo6PAk
=drjz
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Jeff Tipton

On 03/11/2013 20:31, Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 2:10 PM, Jeff Tipton wrote:

On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff
Tipton wrote:

Hi,

I'm trying to set up security/maia, and this is the error
message I get:

Error: shared library mysqlclient.18 does not exist

Of course, the library does exist :(

# ls /usr/local/lib/mysql/ libmysqlclient.a
libmysqlclient_r.a libmysqld.a libmysqlclient.so
libmysqlclient_r.solibmysqlservices.a
libmysqlclient.so.18 libmysqlclient_r.so.18 plugin

I googled about this, and I found 3 things to try but none of
that was helpful here:

1. make a link: ln -s
/usr/local/lib/mysql/libmysqlclient.so.18
/usr/local/lib/libmysqlclient.so.18

2. Check the root's umask and the directory permissions if
they are correct, and they are: # umask 22 #ll /usr/local/lib
|grep mysql lrwxr-xr-x   1 root  wheel41 Mar 11
16:25 libmysqlclient.so.18@ -
/usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x   3 root
wheel   512 Mar 11 16:22 mysql/

# ll /usr/local/lib/mysql/ total 27276 -rw-r--r--  1 root
wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x  1
root  wheel 20 Mar 11 16:22 libmysqlclient.so@ -
libmysqlclient.so.18 -rwxr-xr-x  1 root  wheel   3364688 Mar
11 16:22 libmysqlclient.so.18* lrwxr-xr-x  1 root  wheel
16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a
lrwxr-xr-x  1 root wheel17 Mar 11 16:22
libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x  1 root
wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ -
libmysqlclient.so -rw-r--r--  1 root wheel  20019340 Mar  7
15:08 libmysqld.a -rw-r--r--  1 root  wheel 4598 Mar 11 16:17
libmysqlservices.a drwxr-xr-x  2 root  wheel 512 Mar  8 19:01
plugin/

3. Update the ports tree. Ports tree is up to date.

Could someone, please, suggest what I could try to solve
this?

Thanks, Jeff

Hi Jeff,

At what point do you receive the error message?  Is it when you
attempt to run the executable built by the port?  If so, please
run the ldd command against the executable and post the output back
here.

Thank you, Greg


-- Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me Thank
you, Greg, for the reply. I get the error message while compiling
security/maia port. mysql client itself is working ok, I can
connect to my database server.

ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql:
libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000) libz.so.6
= /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 =
/usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = /lib/libm.so.5
(0x801219000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000)
libthr.so.3 = /lib/libthr.so.3 (0x801647000) libc.so.7 =
/lib/libc.so.7 (0x801869000) libncurses.so.8 =
/lib/libncurses.so.8 (0x801bbc000)


Hi Jeff,

Can you post the relevant bits of build output where the error message
shows up?  If it happens during the configure phase of the port build,
you'll also want to post the end of the config.log file found in the
port work directory.

Thank you,
Greg


- -- 
Greg Larkin


http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlE+IxoACgkQ0sRouByUApB5XQCfcFo9nRCtFzuWJB/yg7tB6W6O
h5MAnAqKEtOUuCwqlf0+HM5GSifo6PAk
=drjz
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
I tried to run make several times, and previously some build depends 
were compiled. But now the work directory doesn't even get created, 
and the process stops immediately:


/usr/ports/security/maia# make install clean
===   maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - 
not found
===Verifying install for mysqlclient.18 in 
/usr/ports/databases/mysql55-client

===   Returning to build of maia-1.0.3.r1575_3
Error: shared library mysqlclient.18 does not exist
*** [lib-depends] Error code 1

Stop in /basejail/usr/ports/security/maia.
/usr/ports/security/maia#


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Matthew Seaman
On 11/03/2013 16:59, Jeff Tipton wrote:
 I'm trying to set up security/maia, and this is the error message I get:
 
 Error: shared library mysqlclient.18 does not exist
 
 Of course, the library does exist :(
 
 # ls /usr/local/lib/mysql/
 libmysqlclient.a   libmysqlclient_r.a libmysqld.a
 libmysqlclient.so  libmysqlclient_r.solibmysqlservices.a
 libmysqlclient.so.18   libmysqlclient_r.so.18 plugin
 
 I googled about this, and I found 3 things to try but none of that was
 helpful here:

One other thing to try: examine the output of 'ldconfig -r' -- you
should see -libmysqlclient.18 somewhere in the listing.

The default location the ports will install that library is

/usr/local/lib/mysql/libmysqlclient.so.18

which, you'll notice is in a subdirectory of /usr/local/lib -- not on
the default shared library search path.  If it's been correctly
installed however you should see /usr/local/lib/mysql amongst the search
directories around the 2nd line of the ldconfig -r output.

If not, you can run this:

  ldconfig -m /usr/local/lib/mysql

You only need to do that once, and the system should remember it.
Installing from the port or packages (old or pkgng style) should do that
automatically.  How did you install mysql-client?

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 2:47 PM, Jeff Tipton wrote:
 On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff
 Tipton wrote:
 On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM,
 Jeff Tipton wrote:
 Hi,
 
 I'm trying to set up security/maia, and this is the
 error message I get:
 
 Error: shared library mysqlclient.18 does not exist
 
 Of course, the library does exist :(
 
 # ls /usr/local/lib/mysql/ libmysqlclient.a 
 libmysqlclient_r.a libmysqld.a libmysqlclient.so 
 libmysqlclient_r.solibmysqlservices.a 
 libmysqlclient.so.18 libmysqlclient_r.so.18 plugin
 
 I googled about this, and I found 3 things to try but
 none of that was helpful here:
 
 1. make a link: ln -s 
 /usr/local/lib/mysql/libmysqlclient.so.18 
 /usr/local/lib/libmysqlclient.so.18
 
 2. Check the root's umask and the directory permissions
 if they are correct, and they are: # umask 22 #ll
 /usr/local/lib |grep mysql lrwxr-xr-x   1 root  wheel
 41 Mar 11 16:25 libmysqlclient.so.18@ - 
 /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x
 3 root wheel   512 Mar 11 16:22 mysql/
 
 # ll /usr/local/lib/mysql/ total 27276 -rw-r--r--  1
 root wheel 4844270 Mar 11 16:17 libmysqlclient.a
 lrwxr-xr-x  1 root  wheel 20 Mar 11 16:22
 libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x
 1 root  wheel   3364688 Mar 11 16:22
 libmysqlclient.so.18* lrwxr-xr-x  1 root  wheel 16 Mar
 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a 
 lrwxr-xr-x  1 root wheel17 Mar 11 16:22 
 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x  1
 root wheel17 Mar 11 16:22
 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r--
 1 root wheel  20019340 Mar  7 15:08 libmysqld.a
 -rw-r--r--  1 root  wheel 4598 Mar 11 16:17 
 libmysqlservices.a drwxr-xr-x  2 root  wheel 512 Mar  8
 19:01 plugin/
 
 3. Update the ports tree. Ports tree is up to date.
 
 Could someone, please, suggest what I could try to
 solve this?
 
 Thanks, Jeff
 Hi Jeff,
 
 At what point do you receive the error message?  Is it when
 you attempt to run the executable built by the port?  If so,
 please run the ldd command against the executable and post
 the output back here.
 
 Thank you, Greg
 
 
 -- Greg Larkin
 
 http://www.FreeBSD.org/   - The Power To Serve 
 http://www.sourcehosting.net/ - Ready. Set. Code. 
 http://twitter.com/cpucycle/  - Follow you, follow me
 Thank you, Greg, for the reply. I get the error message while
 compiling security/maia port. mysql client itself is working
 ok, I can connect to my database server.
 
 ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: 
 libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000)
 libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = 
 /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 =
 /lib/libm.so.5 (0x801219000) libgcc_s.so.1 =
 /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 =
 /lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7
 (0x801869000) libncurses.so.8 = /lib/libncurses.so.8
 (0x801bbc000)
 
 Hi Jeff,
 
 Can you post the relevant bits of build output where the error
 message shows up?  If it happens during the configure phase of the
 port build, you'll also want to post the end of the config.log file
 found in the port work directory.
 
 Thank you, Greg
 
 

 I tried to run make several times, and previously some build
 depends were compiled. But now the work directory doesn't even
 get created, and the process stops immediately:
 
 /usr/ports/security/maia# make install clean ===
 maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not
 found ===Verifying install for mysqlclient.18 in 
 /usr/ports/databases/mysql55-client ===   Returning to build of
 maia-1.0.3.r1575_3 Error: shared library mysqlclient.18 does not
 exist *** [lib-depends] Error code 1
 
 Stop in /basejail/usr/ports/security/maia. 
 /usr/ports/security/maia#
 
 

Ok, it looks like something is messed up with your ldconfig search
path.  To confirm that, please run this command and post results back
here:

ldconfig -r| grep mysql

Thank you,
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlE+KdEACgkQ0sRouByUApBP3gCfalFeDTMflaCy+vnF3FMoTht8
+8sAn0oZBRgUlryNk21zzYZ0KMJYsGER
=3LRY
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OpenVPN vm cant connect to other VM's

2013-03-11 Thread Michael Sierchio
Are you pushing routes in your server.conf file?

(hint - show, don't tell)

- M

On Wed, Mar 6, 2013 at 2:38 AM, Brent Clark brentgclarkl...@gmail.com wrote:
 Hi guys

 Im struggling with a freebsd vm, that I have that I use for a VPN connection
 too, from my workstation to my home LAN. And I was wondering if someone
 could peer review me and my problem.

 OpenVPN is working beautifully. I.e. I can connect to some services (apache
 etc) that I run directly on my FreeBSD / openvpn vm.

 What im now trying to achieve is that I can connect to other VMs / machines
 on my home LAN.

 Im using tun for my VPN, and my pf.conf looks like so (please see the nat on
 ...)

 [root@freebsd /usr/home/bclark]# cat  /etc/pf.conf
 ext_if=re0
 vpn_if=tun0
 int_net=10.0.0.0/24
 vpn_net=192.168.200.0/24
 set skip on lo0
 set optimization normal
 #set block-policy drop
 set limit { states 2, frags 1, src-nodes 2 }
 # Normalization: reassemble fragments and resolve or reduce traffic
 ambiguities.
 scrub in all
 # Translation: specify how addresses are to be mapped or redirected.
 # NAT rules
 # enabling NAT currently breaks policy based routing
 #nat on $ext_if from { $int_net, $vpn_net } to any - ($ext_if)
 #nat on tun0 from { 192.168.200.0/24 } to any - (re0)
 nat on re0 from { 192.168.200.0/24 } to any - (re0)

 table sshguard persist
 block in quick on re0 proto tcp from sshguard to any port ssh label ssh
 brute

 What am I missing?

 If anyone could assist, it would be appreciated.

 Kind Regards
 Brent Clark


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9 and Windows XP

2013-03-11 Thread Ralf Mardorf
On Mon, 2013-03-11 at 12:25 -0600, Warren Block wrote:
 Booting the same Windows install alternately in a VM and then on real 
 hardware may trigger the Genuine Advantage annoyance.

This is true, but for some exceptional cases perhaps untrue.

I wasn't aware about this possibility, but it does sound interesting to
me.

I run Windows in VBox only to use an iPad I won and to transfer
documents from my *nix to the iPad.

So my exceptional cases is, that I've got something useful I didn't buy
myself. This thing, the iPad, has a lot of disadvantages, I don't pay
for apps etc., but it's useful as a reader and for some other tasks. I
don't need and I don't use Windows, with this exception (to use the
reader/iPad). It's a XP without admin account and service pack 2 only,
I don't give a damn about the state of this Windows or the state of the
reader. Ok, I made some snapshots, I use this advantage, but I could
live without snapshots.

I'm a *nix only user, the iPad and regarding to this, Windows XP too,
fall into my lap. iPad and Windows aren't important for me, I don't need
the security advantages of the virtual machine. I chose it, to avoid
issues with installing Windows to a real partition, no primary was free
and fixing the boot loader is work and I wish to access iTunes from my
*nix ... however, since *nix tend to be problematic regarding to
hardware, it can't harm to have a Windows to test hardware that does
cause issues with *nix, to ensure that the hardware isn't broken.

In my very exceptional, individual case it might be really interesting
to share a real Windows install, directly booted and booted as guest
in VBox. I'm thinking of making a backup of the virtual partition and to
restore it on a real, primary ntfs partition or something similar,
perhaps I can copy just the iTunes data and make a new Windows
install ... OTOH I didn't use a Windows install before, disk space isn't
expensive, so I'm uncertain, if I really want a real Windows install and
if I should wish to have one, it's not to share it with VBox, but keep a
separated version in VBox. I'm not sure that it's really easy to test
hardware when booting it directly and to have completely different
_virtual_ hardware by VBox. What would happen, if for the _virtual_ boot
of XP, the professional audio card is missing? The setups might be that
different, that it perhaps can't switch between a _real_ and a _virtual_
boot without much editing.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Jeff Tipton

On 03/11/2013 21:00, Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 2:47 PM, Jeff Tipton wrote:

On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff
Tipton wrote:

On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM,
Jeff Tipton wrote:

Hi,

I'm trying to set up security/maia, and this is the
error message I get:

Error: shared library mysqlclient.18 does not exist

Of course, the library does exist :(

# ls /usr/local/lib/mysql/ libmysqlclient.a
libmysqlclient_r.a libmysqld.a libmysqlclient.so
libmysqlclient_r.solibmysqlservices.a
libmysqlclient.so.18 libmysqlclient_r.so.18 plugin

I googled about this, and I found 3 things to try but
none of that was helpful here:

1. make a link: ln -s
/usr/local/lib/mysql/libmysqlclient.so.18
/usr/local/lib/libmysqlclient.so.18

2. Check the root's umask and the directory permissions
if they are correct, and they are: # umask 22 #ll
/usr/local/lib |grep mysql lrwxr-xr-x   1 root  wheel
41 Mar 11 16:25 libmysqlclient.so.18@ -
/usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x
3 root wheel   512 Mar 11 16:22 mysql/

# ll /usr/local/lib/mysql/ total 27276 -rw-r--r--  1
root wheel 4844270 Mar 11 16:17 libmysqlclient.a
lrwxr-xr-x  1 root  wheel 20 Mar 11 16:22
libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x
1 root  wheel   3364688 Mar 11 16:22
libmysqlclient.so.18* lrwxr-xr-x  1 root  wheel 16 Mar
11 16:22 libmysqlclient_r.a@ - libmysqlclient.a
lrwxr-xr-x  1 root wheel17 Mar 11 16:22
libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x  1
root wheel17 Mar 11 16:22
libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r--
1 root wheel  20019340 Mar  7 15:08 libmysqld.a
-rw-r--r--  1 root  wheel 4598 Mar 11 16:17
libmysqlservices.a drwxr-xr-x  2 root  wheel 512 Mar  8
19:01 plugin/

3. Update the ports tree. Ports tree is up to date.

Could someone, please, suggest what I could try to
solve this?

Thanks, Jeff

Hi Jeff,

At what point do you receive the error message?  Is it when
you attempt to run the executable built by the port?  If so,
please run the ldd command against the executable and post
the output back here.

Thank you, Greg


-- Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
Thank you, Greg, for the reply. I get the error message while
compiling security/maia port. mysql client itself is working
ok, I can connect to my database server.

ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql:
libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000)
libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 =
/usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 =
/lib/libm.so.5 (0x801219000) libgcc_s.so.1 =
/lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 =
/lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7
(0x801869000) libncurses.so.8 = /lib/libncurses.so.8
(0x801bbc000)


Hi Jeff,

Can you post the relevant bits of build output where the error
message shows up?  If it happens during the configure phase of the
port build, you'll also want to post the end of the config.log file
found in the port work directory.

Thank you, Greg


I tried to run make several times, and previously some build
depends were compiled. But now the work directory doesn't even
get created, and the process stops immediately:

/usr/ports/security/maia# make install clean ===
maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not
found ===Verifying install for mysqlclient.18 in
/usr/ports/databases/mysql55-client ===   Returning to build of
maia-1.0.3.r1575_3 Error: shared library mysqlclient.18 does not
exist *** [lib-depends] Error code 1

Stop in /basejail/usr/ports/security/maia.
/usr/ports/security/maia#



Ok, it looks like something is messed up with your ldconfig search
path.  To confirm that, please run this command and post results back
here:

ldconfig -r| grep mysql

Thank you,
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlE+KdEACgkQ0sRouByUApBP3gCfalFeDTMflaCy+vnF3FMoTht8
+8sAn0oZBRgUlryNk21zzYZ0KMJYsGER
=3LRY
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

# ldconfig -r| grep mysql
search directories: 
/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth

218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18
219:-lmysqlclient.18 = /usr/local/lib/mysql/libmysqlclient.so.18
220:-lmysqlclient_r.18 = /usr/local/lib/mysql/libmysqlclient_r.so.18

I installed both mysql client and server from ports. The versions are:
mysql-client-5.5.30
mysql-server-5.5.30


Re: Problems Printing

2013-03-11 Thread Joseph A. Nagy, Jr

On 03/11/13 01:17, Bernt Hansson wrote:

2013-03-05 09:10, Joseph A. Nagy, Jr skrev:

Cups is setup so I should be able to print:
http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png

My pdf reader sees the printer:
http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png

yet it won't print and delivers this dialog:
http://www.joseph-a-nagy-jr.us/images/problems/print-error.png

any ideas on how to correct this?


http://www.openprinting.org/printer/Canon/Canon-PIXMA_MP210


http://www.joseph-a-nagy-jr.us/images/problems/still-no-luck_cups.png
--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL 
http://copyfree.org/licenses/owl/license.txt

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems Printing

2013-03-11 Thread Matthias Apitz
El día Monday, March 11, 2013 a las 02:49:24PM -0500, Joseph A. Nagy, Jr 
escribió:

 On 03/11/13 01:17, Bernt Hansson wrote:
  2013-03-05 09:10, Joseph A. Nagy, Jr skrev:
  Cups is setup so I should be able to print:
  http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png

What kind of software does this scree shows? And why do you think with
this that CUPS is setup as it should?

 
  My pdf reader sees the printer:
  http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png

yes it sees some printer with this name 'PIXMA...', nothing more;

 
  yet it won't print and delivers this dialog:
  http://www.joseph-a-nagy-jr.us/images/problems/print-error.png

this shows that the software is using the lpr(1) command from base
system, but not the lpr command of CUPS;

 
  any ideas on how to correct this?
 
  http://www.openprinting.org/printer/Canon/Canon-PIXMA_MP210
 
 http://www.joseph-a-nagy-jr.us/images/problems/still-no-luck_cups.png

it shows that you have NOT configured the printer PIXMA as a Generic
Postscript printer (as I said)! Please, drop all sofisticated PPD stuff, use 
Generic
(generated) Postscript PPD and ensure first that the CUPS test page
comes out (from the web interface) and after this, test from lpr-command
line from shell.

I think, I'm repeating me

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems Printing

2013-03-11 Thread Joseph A. Nagy, Jr

On 03/11/13 15:08, Matthias Apitz wrote:

El día Monday, March 11, 2013 a las 02:49:24PM -0500, Joseph A. Nagy, Jr 
escribió:


On 03/11/13 01:17, Bernt Hansson wrote:

2013-03-05 09:10, Joseph A. Nagy, Jr skrev:

Cups is setup so I should be able to print:
http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png


What kind of software does this scree shows? And why do you think with
this that CUPS is setup as it should?



My pdf reader sees the printer:
http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png


yes it sees some printer with this name 'PIXMA...', nothing more;



yet it won't print and delivers this dialog:
http://www.joseph-a-nagy-jr.us/images/problems/print-error.png


this shows that the software is using the lpr(1) command from base
system, but not the lpr command of CUPS;



any ideas on how to correct this?


http://www.openprinting.org/printer/Canon/Canon-PIXMA_MP210


http://www.joseph-a-nagy-jr.us/images/problems/still-no-luck_cups.png


it shows that you have NOT configured the printer PIXMA as a Generic
Postscript printer (as I said)! Please, drop all sofisticated PPD stuff, use 
Generic
(generated) Postscript PPD and ensure first that the CUPS test page
comes out (from the web interface) and after this, test from lpr-command
line from shell.

I think, I'm repeating me

matthias



You're only repeating yourself because you missed the post where I 
ALREADY DID THAT.

--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL 
http://copyfree.org/licenses/owl/license.txt

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems Printing

2013-03-11 Thread Matthias Apitz
El día Monday, March 11, 2013 a las 03:16:52PM -0500, Joseph A. Nagy, Jr 
escribió:

  http://www.joseph-a-nagy-jr.us/images/problems/still-no-luck_cups.png
 
  it shows that you have NOT configured the printer PIXMA as a Generic
  Postscript printer (as I said)! Please, drop all sofisticated PPD stuff, 
  use Generic
  (generated) Postscript PPD and ensure first that the CUPS test page
  comes out (from the web interface) and after this, test from lpr-command
  line from shell.
 
  I think, I'm repeating me
 
  matthias
 
 
 You're only repeating yourself because you missed the post where I 
 ALREADY DID THAT.

Please show a screen of the CUPS' web interface (or the lines of the
printers.conf file) where the printer is configured as a Generic
Postscript. 

And, I have read all your postings in detail, which do not show a
structured way to nail down a problem.

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems Printing

2013-03-11 Thread Joseph A. Nagy, Jr

On 03/11/13 15:26, Matthias Apitz wrote:

El día Monday, March 11, 2013 a las 03:16:52PM -0500, Joseph A. Nagy, Jr 
escribió:


http://www.joseph-a-nagy-jr.us/images/problems/still-no-luck_cups.png


it shows that you have NOT configured the printer PIXMA as a Generic
Postscript printer (as I said)! Please, drop all sofisticated PPD stuff, use 
Generic
(generated) Postscript PPD and ensure first that the CUPS test page
comes out (from the web interface) and after this, test from lpr-command
line from shell.

I think, I'm repeating me

matthias



You're only repeating yourself because you missed the post where I
ALREADY DID THAT.


Please show a screen of the CUPS' web interface (or the lines of the
printers.conf file) where the printer is configured as a Generic
Postscript.


If you do not believe I've configured it as you suggested/requested, 
that's your problem. If you want it redone, contact me off-list and I'll 
provide my mailing address so you can come do it yourself.



And, I have read all your postings in detail, which do not show a
structured way to nail down a problem.

matthias



As for not showing a structured way to nail down the problem, I'm not 
sure what else to do. I've provided the logs in their entirety. I've 
shown where I used gnome-cups-manager to try and configure it, I - in a 
very lengthy (mostly due to log file entries) post - went step by step 
trying to do it several ways (including using the web interface). What 
more do you want?


I even reinstalled gnutls to no avail. The next step is to rebuild all 
the cups related ports with gnutls disabled.


--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL 
http://copyfree.org/licenses/owl/license.txt

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems Printing

2013-03-11 Thread Matthias Apitz
El día Monday, March 11, 2013 a las 03:34:05PM -0500, Joseph A. Nagy, Jr 
escribió:

  Please show a screen of the CUPS' web interface (or the lines of the
  printers.conf file) where the printer is configured as a Generic
  Postscript.
 
 If you do not believe I've configured it as you suggested/requested, 
 that's your problem. If you want it redone, contact me off-list and I'll 
 provide my mailing address so you can come do it yourself.

We are not in church here and it has nothing to do with believe...
The long logs you provided never have shown the printer as Generic PS.

  And, I have read all your postings in detail, which do not show a
  structured way to nail down a problem.
 
  matthias
 
 
 As for not showing a structured way to nail down the problem, I'm not 
 sure what else to do. I've provided the logs in their entirety. I've 
 shown where I used gnome-cups-manager to try and configure it, I - in a 
 very lengthy (mostly due to log file entries) post - went step by step 
 trying to do it several ways (including using the web interface). What 
 more do you want?

Just configure a Generic PS in addition pointing to the same device,
show the screen of the web interface or the printers.conf file and do a
test print from CUPS.

 
 I even reinstalled gnutls to no avail. The next step is to rebuild all 
 the cups related ports with gnutls disabled.

This is unrelated to the problem.

matthias

-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 3:34 PM, Jeff Tipton wrote:
 On 03/11/2013 21:00, Greg Larkin wrote: On 3/11/13 2:47 PM, Jeff
 Tipton wrote:
 On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM,
 Jeff Tipton wrote:
 On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13
 12:59 PM, Jeff Tipton wrote:
 Hi,
 
 I'm trying to set up security/maia, and this is
 the error message I get:
 
 Error: shared library mysqlclient.18 does not
 exist
 
 Of course, the library does exist :(
 
 # ls /usr/local/lib/mysql/ libmysqlclient.a 
 libmysqlclient_r.a libmysqld.a
 libmysqlclient.so libmysqlclient_r.so
 libmysqlservices.a libmysqlclient.so.18
 libmysqlclient_r.so.18 plugin
 
 I googled about this, and I found 3 things to try
 but none of that was helpful here:
 
 1. make a link: ln -s 
 /usr/local/lib/mysql/libmysqlclient.so.18 
 /usr/local/lib/libmysqlclient.so.18
 
 2. Check the root's umask and the directory
 permissions if they are correct, and they are: #
 umask 22 #ll /usr/local/lib |grep mysql
 lrwxr-xr-x   1 root  wheel 41 Mar 11 16:25
 libmysqlclient.so.18@ - 
 /usr/local/lib/mysql/libmysqlclient.so.18
 drwxr-xr-x 3 root wheel   512 Mar 11 16:22
 mysql/
 
 # ll /usr/local/lib/mysql/ total 27276 -rw-r--r--
 1 root wheel 4844270 Mar 11 16:17
 libmysqlclient.a lrwxr-xr-x  1 root  wheel 20 Mar
 11 16:22 libmysqlclient.so@ -
 libmysqlclient.so.18 -rwxr-xr-x 1 root  wheel
 3364688 Mar 11 16:22 libmysqlclient.so.18*
 lrwxr-xr-x  1 root  wheel 16 Mar 11 16:22
 libmysqlclient_r.a@ - libmysqlclient.a 
 lrwxr-xr-x  1 root wheel17 Mar 11 16:22 
 libmysqlclient_r.so@ - libmysqlclient.so
 lrwxr-xr-x  1 root wheel17 Mar 11 16:22 
 libmysqlclient_r.so.18@ - libmysqlclient.so
 -rw-r--r-- 1 root wheel  20019340 Mar  7 15:08
 libmysqld.a -rw-r--r--  1 root  wheel 4598 Mar 11
 16:17 libmysqlservices.a drwxr-xr-x  2 root
 wheel 512 Mar  8 19:01 plugin/
 
 3. Update the ports tree. Ports tree is up to
 date.
 
 Could someone, please, suggest what I could try
 to solve this?
 
 Thanks, Jeff
 Hi Jeff,
 
 At what point do you receive the error message?  Is it
 when you attempt to run the executable built by the
 port?  If so, please run the ldd command against the
 executable and post the output back here.
 
 Thank you, Greg
 
 
 -- Greg Larkin
 
 http://www.FreeBSD.org/   - The Power To Serve 
 http://www.sourcehosting.net/ - Ready. Set. Code. 
 http://twitter.com/cpucycle/  - Follow you, follow
 me Thank you, Greg, for the reply. I get the error
 message while compiling security/maia port. mysql
 client itself is working ok, I can connect to my
 database server.
 
 ldd output: # ldd /usr/local/bin/mysql
 /usr/local/bin/mysql: libreadline.so.8 =
 /lib/libreadline.so.8 (0x800ab5000) libz.so.6 =
 /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = 
 /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = 
 /lib/libm.so.5 (0x801219000) libgcc_s.so.1 = 
 /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 = 
 /lib/libthr.so.3 (0x801647000) libc.so.7 =
 /lib/libc.so.7 (0x801869000) libncurses.so.8 =
 /lib/libncurses.so.8 (0x801bbc000)
 
 Hi Jeff,
 
 Can you post the relevant bits of build output where the
 error message shows up?  If it happens during the configure
 phase of the port build, you'll also want to post the end of
 the config.log file found in the port work directory.
 
 Thank you, Greg
 
 
 I tried to run make several times, and previously some
 build depends were compiled. But now the work directory
 doesn't even get created, and the process stops immediately:
 
 /usr/ports/security/maia# make install clean === 
 maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18
 - not found ===Verifying install for mysqlclient.18 in 
 /usr/ports/databases/mysql55-client ===   Returning to build
 of maia-1.0.3.r1575_3 Error: shared library mysqlclient.18
 does not exist *** [lib-depends] Error code 1
 
 Stop in /basejail/usr/ports/security/maia. 
 /usr/ports/security/maia#
 
 
 Ok, it looks like something is messed up with your ldconfig search 
 path.  To confirm that, please run this command and post results
 back here:
 
 ldconfig -r| grep mysql
 
 Thank you, Greg
 ___ 
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions To
 unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 # ldconfig -r| grep mysql search directories: 
 /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth

  218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18 
 219:-lmysqlclient.18 = /usr/local/lib/mysql/libmysqlclient.so.18 
 220:-lmysqlclient_r.18 =
 /usr/local/lib/mysql/libmysqlclient_r.so.18
 
 I installed both mysql client and server from ports. The versions
 are: mysql-client-5.5.30 mysql-server-5.5.30
 

Ok, here's a last ditch attempt to see exactly why the code in
bsd.port.mk is failing to find that shlib on your 

Re: OpenVPN vm cant connect to other VM's

2013-03-11 Thread lokada...@gmx.de

On 11.03.2013 20:13, Michael Sierchio wrote:

Are you pushing routes in your server.conf file?

(hint - show, don't tell)

- M

On Wed, Mar 6, 2013 at 2:38 AM, Brent Clark brentgclarkl...@gmail.com wrote:

Hi guys

Im struggling with a freebsd vm, that I have that I use for a VPN connection
too, from my workstation to my home LAN. And I was wondering if someone
could peer review me and my problem.

OpenVPN is working beautifully. I.e. I can connect to some services (apache
etc) that I run directly on my FreeBSD / openvpn vm.

What im now trying to achieve is that I can connect to other VMs / machines
on my home LAN.

Im using tun for my VPN, and my pf.conf looks like so (please see the nat on
...)

[root@freebsd /usr/home/bclark]# cat  /etc/pf.conf
ext_if=re0
vpn_if=tun0
int_net=10.0.0.0/24
vpn_net=192.168.200.0/24
set skip on lo0
set optimization normal
#set block-policy drop
set limit { states 2, frags 1, src-nodes 2 }
# Normalization: reassemble fragments and resolve or reduce traffic
ambiguities.
scrub in all
# Translation: specify how addresses are to be mapped or redirected.
# NAT rules
# enabling NAT currently breaks policy based routing
#nat on $ext_if from { $int_net, $vpn_net } to any - ($ext_if)
#nat on tun0 from { 192.168.200.0/24 } to any - (re0)
nat on re0 from { 192.168.200.0/24 } to any - (re0)

table sshguard persist
block in quick on re0 proto tcp from sshguard to any port ssh label ssh
brute

What am I missing?

If anyone could assist, it would be appreciated.

Kind Regards
Brent Clark


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

For your own network yes. You must route all your traffic, which is for 
your other lan/ subnet.

Every VPN connect must be corrected routed, equal which vpn is used.
Else every traffic will go loose through internet traffic.

I connect some subnets with OpenVPN and every subnet must configured 
with ccd (its a subfolder
with a filename of certificate- name and content with iroute subnet to 
tell, when client xyz is connect,

subnet is there) and in server.conf. Else this subnets won't routed correct.
You can add this route manuell through its OpenVPN- Gateway.

Show:
server.conf: look for client-config-dir /usr/local/.../ccd in 
server.conf and insert your subnet:

route 192.168.x.x 255.255.255.0

create a file with certificate-name under 
/usr/local/etc/openvpn/config/your connect-name/ccd/ and insert:

iroute 192.168.x.x 255.255.255.0
Look in /var/log/openvpn.log for the right certificate-name.

Everytime this certificat/ client is connect the subnet- traffic will be 
routed through him.


Don't forget to restart openvpn. ;)
*Sorry, my english is not so good*
Regards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems Printing

2013-03-11 Thread Joseph A. Nagy, Jr

Thank you all for all your help, this is apparently an unsolvable problem.

Seems I wasted your time as well as mine trying to get yet another piece 
of hardware working under FreeBSD. I've done everything asked of me, 
several times over, and this ends with someone deciding I'm a liar.


Have a nice day. I'll just find another way to do my printing.

--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL 
http://copyfree.org/licenses/owl/license.txt

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems Printing

2013-03-11 Thread iamatt
Everything but your due diligence.  34+ thread on printing, some crap you
probably don't even need to print, Jesus.  Never had an issue printing from
freebsd.  HP jet direct with postscript are cheap(the old ones being the
good ones).  I print from winblows if I need to do real printing.
On Mar 11, 2013 4:08 PM, Joseph A. Nagy, Jr jnagyjr1...@gmail.com wrote:

 Thank you all for all your help, this is apparently an unsolvable problem.

 Seems I wasted your time as well as mine trying to get yet another piece
 of hardware working under FreeBSD. I've done everything asked of me,
 several times over, and this ends with someone deciding I'm a liar.

 Have a nice day. I'll just find another way to do my printing.

 --
 Yours in Christ,

 Joseph A Nagy Jr
 Whoever loves instruction loves knowledge, But he who hates correction
 is stupid. -- Proverbs 12:1
 Emails are not formal business letters, whatever businesses may want.
 Original content CopyFree (F) under the OWL http://copyfree.org/licenses/*
 *owl/license.txt http://copyfree.org/licenses/owl/license.txt
 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems Printing

2013-03-11 Thread Matthias Apitz
El día Monday, March 11, 2013 a las 04:08:33PM -0500, Joseph A. Nagy, Jr 
escribió:

 Thank you all for all your help, this is apparently an unsolvable problem.

I don't think so that this is an unsolvable problem.

 Seems I wasted your time as well as mine trying to get yet another piece 
 of hardware working under FreeBSD. I've done everything asked of me, 
 several times over, and this ends with someone deciding I'm a liar.

Nobody says that you are a liar. Just follow the hints given, do it with calm
and do not test several changes at the same time.

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


pkg_updating -d

2013-03-11 Thread Peter Clark
Hello,

I am new to using pkg_updating -d to look at new entries in 
/usr/ports/UPDATING. From what I have read I should be able to just use:
# pkg_updating -d 20130301  (for example)

And that should give me everything in /usr/ports/UPDATING newer than that date. 
When I run that command I get:
root@monitor:/ # pkg_updating -d 20130301
root@monitor:/ #

When I try # pkg_updating -d 20130201
root@monitor:/ # pkg_updating -d 20130201
root@monitor:/ #


When I try # pkg_updating -d 20130101
root@monitor:/ # pkg_updating -d 20130101
root@monitor:/ #


When I try # pkg_updating -d 20121201
root@monitor:/ # pkg_updating -d 20121201
20121211:
  AFFECTS: users of devel/pcre
  AUTHOR: bdrew...@freebsd.org

  The pcre library has been updated to version 8.32.  Please
  rebuild all ports that depend on it.

  If you use portmaster:
portmaster -w -r pcre
  If you use portupgrade:
portupgrade -fr devel/pcre
  If you use pkgng with binary packages:
pkg install -fR devel/pcre

root@monitor:/ #


Now that confuses me even more, it only returned one of the 2 advisories on 
12/11/2012.

I am running:
9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012 
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

I have portsnap fetch update today.


Any ideas on how I can correct this behavior?

Thank you,

Peter

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Jeff Tipton

On 03/11/2013 21:34, Jeff Tipton wrote:

On 03/11/2013 21:00, Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 2:47 PM, Jeff Tipton wrote:

On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff
Tipton wrote:

On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM,
Jeff Tipton wrote:

Hi,

I'm trying to set up security/maia, and this is the
error message I get:

Error: shared library mysqlclient.18 does not exist

Of course, the library does exist :(

# ls /usr/local/lib/mysql/ libmysqlclient.a
libmysqlclient_r.a libmysqld.a libmysqlclient.so
libmysqlclient_r.solibmysqlservices.a
libmysqlclient.so.18 libmysqlclient_r.so.18 plugin

I googled about this, and I found 3 things to try but
none of that was helpful here:

1. make a link: ln -s
/usr/local/lib/mysql/libmysqlclient.so.18
/usr/local/lib/libmysqlclient.so.18

2. Check the root's umask and the directory permissions
if they are correct, and they are: # umask 22 #ll
/usr/local/lib |grep mysql lrwxr-xr-x   1 root wheel
41 Mar 11 16:25 libmysqlclient.so.18@ -
/usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x
3 root wheel   512 Mar 11 16:22 mysql/

# ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1
root wheel 4844270 Mar 11 16:17 libmysqlclient.a
lrwxr-xr-x  1 root  wheel 20 Mar 11 16:22
libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x
1 root  wheel   3364688 Mar 11 16:22
libmysqlclient.so.18* lrwxr-xr-x  1 root  wheel 16 Mar
11 16:22 libmysqlclient_r.a@ - libmysqlclient.a
lrwxr-xr-x  1 root wheel17 Mar 11 16:22
libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x  1
root wheel17 Mar 11 16:22
libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r--
1 root wheel  20019340 Mar  7 15:08 libmysqld.a
-rw-r--r--  1 root  wheel 4598 Mar 11 16:17
libmysqlservices.a drwxr-xr-x  2 root  wheel 512 Mar  8
19:01 plugin/

3. Update the ports tree. Ports tree is up to date.

Could someone, please, suggest what I could try to
solve this?

Thanks, Jeff

Hi Jeff,

At what point do you receive the error message?  Is it when
you attempt to run the executable built by the port?  If so,
please run the ldd command against the executable and post
the output back here.

Thank you, Greg


-- Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
Thank you, Greg, for the reply. I get the error message while
compiling security/maia port. mysql client itself is working
ok, I can connect to my database server.

ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql:
libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000)
libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 =
/usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 =
/lib/libm.so.5 (0x801219000) libgcc_s.so.1 =
/lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 =
/lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7
(0x801869000) libncurses.so.8 = /lib/libncurses.so.8
(0x801bbc000)


Hi Jeff,

Can you post the relevant bits of build output where the error
message shows up?  If it happens during the configure phase of the
port build, you'll also want to post the end of the config.log file
found in the port work directory.

Thank you, Greg


I tried to run make several times, and previously some build
depends were compiled. But now the work directory doesn't even
get created, and the process stops immediately:

/usr/ports/security/maia# make install clean ===
maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not
found ===Verifying install for mysqlclient.18 in
/usr/ports/databases/mysql55-client ===   Returning to build of
maia-1.0.3.r1575_3 Error: shared library mysqlclient.18 does not
exist *** [lib-depends] Error code 1

Stop in /basejail/usr/ports/security/maia.
/usr/ports/security/maia#



Ok, it looks like something is messed up with your ldconfig search
path.  To confirm that, please run this command and post results back
here:

ldconfig -r| grep mysql

Thank you,
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlE+KdEACgkQ0sRouByUApBP3gCfalFeDTMflaCy+vnF3FMoTht8
+8sAn0oZBRgUlryNk21zzYZ0KMJYsGER
=3LRY
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

# ldconfig -r| grep mysql
search directories: 
/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth

218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18
219:-lmysqlclient.18 = /usr/local/lib/mysql/libmysqlclient.so.18
220:-lmysqlclient_r.18 = /usr/local/lib/mysql/libmysqlclient_r.so.18

I installed both mysql client and server from ports. The versions are:
mysql-client-5.5.30

Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 5:42 PM, Jeff Tipton wrote:
 On 03/11/2013 21:34, Jeff Tipton wrote:
 On 03/11/2013 21:00, Greg Larkin wrote:
 On 3/11/13 2:47 PM, Jeff Tipton wrote:
 On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM,
 Jeff Tipton wrote:
 On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13
 12:59 PM, Jeff Tipton wrote:
 Hi,
 
 I'm trying to set up security/maia, and this is
 the error message I get:
 
 Error: shared library mysqlclient.18 does not
 exist
 
 Of course, the library does exist :(
 
 # ls /usr/local/lib/mysql/ libmysqlclient.a 
 libmysqlclient_r.a libmysqld.a
 libmysqlclient.so libmysqlclient_r.so
 libmysqlservices.a libmysqlclient.so.18
 libmysqlclient_r.so.18 plugin
 
 I googled about this, and I found 3 things to
 try but none of that was helpful here:
 
 1. make a link: ln -s 
 /usr/local/lib/mysql/libmysqlclient.so.18 
 /usr/local/lib/libmysqlclient.so.18
 
 2. Check the root's umask and the directory
 permissions if they are correct, and they are:
 # umask 22 #ll /usr/local/lib |grep mysql
 lrwxr-xr-x   1 root wheel 41 Mar 11 16:25
 libmysqlclient.so.18@ - 
 /usr/local/lib/mysql/libmysqlclient.so.18
 drwxr-xr-x 3 root wheel   512 Mar 11 16:22
 mysql/
 
 # ll /usr/local/lib/mysql/ total 27276
 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17
 libmysqlclient.a lrwxr-xr-x  1 root  wheel 20
 Mar 11 16:22 libmysqlclient.so@ -
 libmysqlclient.so.18 -rwxr-xr-x 1 root  wheel
 3364688 Mar 11 16:22 libmysqlclient.so.18*
 lrwxr-xr-x  1 root  wheel 16 Mar 11 16:22
 libmysqlclient_r.a@ - libmysqlclient.a 
 lrwxr-xr-x  1 root wheel17 Mar 11
 16:22 libmysqlclient_r.so@ - libmysqlclient.so
 lrwxr-xr-x  1 root wheel17 Mar 11
 16:22 libmysqlclient_r.so.18@ -
 libmysqlclient.so -rw-r--r-- 1 root wheel
 20019340 Mar  7 15:08 libmysqld.a -rw-r--r--  1
 root  wheel 4598 Mar 11 16:17 
 libmysqlservices.a drwxr-xr-x  2 root  wheel
 512 Mar  8 19:01 plugin/
 
 3. Update the ports tree. Ports tree is up to
 date.
 
 Could someone, please, suggest what I could try
 to solve this?
 
 Thanks, Jeff
 Hi Jeff,
 
 At what point do you receive the error message?  Is
 it when you attempt to run the executable built by
 the port?  If so, please run the ldd command against
 the executable and post the output back here.
 
 Thank you, Greg
 
 
 -- Greg Larkin
 
 http://www.FreeBSD.org/   - The Power To
 Serve http://www.sourcehosting.net/ - Ready. Set.
 Code. http://twitter.com/cpucycle/  - Follow you,
 follow me Thank you, Greg, for the reply. I get the
 error message while compiling security/maia port.
 mysql client itself is working ok, I can connect to
 my database server.
 
 ldd output: # ldd /usr/local/bin/mysql
 /usr/local/bin/mysql: libreadline.so.8 =
 /lib/libreadline.so.8 (0x800ab5000) libz.so.6 =
 /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = 
 /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = 
 /lib/libm.so.5 (0x801219000) libgcc_s.so.1 = 
 /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 = 
 /lib/libthr.so.3 (0x801647000) libc.so.7 =
 /lib/libc.so.7 (0x801869000) libncurses.so.8 =
 /lib/libncurses.so.8 (0x801bbc000)
 
 Hi Jeff,
 
 Can you post the relevant bits of build output where the
 error message shows up?  If it happens during the configure
 phase of the port build, you'll also want to post the end
 of the config.log file found in the port work directory.
 
 Thank you, Greg
 
 
 I tried to run make several times, and previously some
 build depends were compiled. But now the work directory
 doesn't even get created, and the process stops
 immediately:
 
 /usr/ports/security/maia# make install clean === 
 maia-1.0.3.r1575_3 depends on shared library:
 mysqlclient.18 - not found ===Verifying install for
 mysqlclient.18 in /usr/ports/databases/mysql55-client ===
 Returning to build of maia-1.0.3.r1575_3 Error: shared
 library mysqlclient.18 does not exist *** [lib-depends]
 Error code 1
 
 Stop in /basejail/usr/ports/security/maia. 
 /usr/ports/security/maia#
 
 
 Ok, it looks like something is messed up with your ldconfig search 
 path.  To confirm that, please run this command and post results
 back here:
 
 ldconfig -r| grep mysql
 
 Thank you, Greg
 ___ 
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions To
 unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 # ldconfig -r| grep mysql search directories: 
 /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth


 
218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18
 219:-lmysqlclient.18 =
 /usr/local/lib/mysql/libmysqlclient.so.18 220:-lmysqlclient_r.18
 = /usr/local/lib/mysql/libmysqlclient_r.so.18
 
 I installed both mysql client and server from ports. The versions
 are: mysql-client-5.5.30 mysql-server-5.5.30
 
 ___ 
 freebsd-questions@freebsd.org 

Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Jeff Tipton

On 03/12/2013 00:07, Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 5:42 PM, Jeff Tipton wrote:

On 03/11/2013 21:34, Jeff Tipton wrote:

On 03/11/2013 21:00, Greg Larkin wrote:

On 3/11/13 2:47 PM, Jeff Tipton wrote:

On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM,
Jeff Tipton wrote:

On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13
12:59 PM, Jeff Tipton wrote:

Hi,

I'm trying to set up security/maia, and this is
the error message I get:

Error: shared library mysqlclient.18 does not
exist

Of course, the library does exist :(

# ls /usr/local/lib/mysql/ libmysqlclient.a
libmysqlclient_r.a libmysqld.a
libmysqlclient.so libmysqlclient_r.so
libmysqlservices.a libmysqlclient.so.18
libmysqlclient_r.so.18 plugin

I googled about this, and I found 3 things to
try but none of that was helpful here:

1. make a link: ln -s
/usr/local/lib/mysql/libmysqlclient.so.18
/usr/local/lib/libmysqlclient.so.18

2. Check the root's umask and the directory
permissions if they are correct, and they are:
# umask 22 #ll /usr/local/lib |grep mysql
lrwxr-xr-x   1 root wheel 41 Mar 11 16:25
libmysqlclient.so.18@ -
/usr/local/lib/mysql/libmysqlclient.so.18
drwxr-xr-x 3 root wheel   512 Mar 11 16:22
mysql/

# ll /usr/local/lib/mysql/ total 27276
-rw-r--r-- 1 root wheel 4844270 Mar 11 16:17
libmysqlclient.a lrwxr-xr-x  1 root  wheel 20
Mar 11 16:22 libmysqlclient.so@ -
libmysqlclient.so.18 -rwxr-xr-x 1 root  wheel
3364688 Mar 11 16:22 libmysqlclient.so.18*
lrwxr-xr-x  1 root  wheel 16 Mar 11 16:22
libmysqlclient_r.a@ - libmysqlclient.a
lrwxr-xr-x  1 root wheel17 Mar 11
16:22 libmysqlclient_r.so@ - libmysqlclient.so
lrwxr-xr-x  1 root wheel17 Mar 11
16:22 libmysqlclient_r.so.18@ -
libmysqlclient.so -rw-r--r-- 1 root wheel
20019340 Mar  7 15:08 libmysqld.a -rw-r--r--  1
root  wheel 4598 Mar 11 16:17
libmysqlservices.a drwxr-xr-x  2 root  wheel
512 Mar  8 19:01 plugin/

3. Update the ports tree. Ports tree is up to
date.

Could someone, please, suggest what I could try
to solve this?

Thanks, Jeff

Hi Jeff,

At what point do you receive the error message?  Is
it when you attempt to run the executable built by
the port?  If so, please run the ldd command against
the executable and post the output back here.

Thank you, Greg


-- Greg Larkin

http://www.FreeBSD.org/   - The Power To
Serve http://www.sourcehosting.net/ - Ready. Set.
Code. http://twitter.com/cpucycle/  - Follow you,
follow me Thank you, Greg, for the reply. I get the
error message while compiling security/maia port.
mysql client itself is working ok, I can connect to
my database server.

ldd output: # ldd /usr/local/bin/mysql
/usr/local/bin/mysql: libreadline.so.8 =
/lib/libreadline.so.8 (0x800ab5000) libz.so.6 =
/lib/libz.so.6 (0x800cf5000) libstdc++.so.6 =
/usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 =
/lib/libm.so.5 (0x801219000) libgcc_s.so.1 =
/lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 =
/lib/libthr.so.3 (0x801647000) libc.so.7 =
/lib/libc.so.7 (0x801869000) libncurses.so.8 =
/lib/libncurses.so.8 (0x801bbc000)


Hi Jeff,

Can you post the relevant bits of build output where the
error message shows up?  If it happens during the configure
phase of the port build, you'll also want to post the end
of the config.log file found in the port work directory.

Thank you, Greg


I tried to run make several times, and previously some
build depends were compiled. But now the work directory
doesn't even get created, and the process stops
immediately:

/usr/ports/security/maia# make install clean ===
maia-1.0.3.r1575_3 depends on shared library:
mysqlclient.18 - not found ===Verifying install for
mysqlclient.18 in /usr/ports/databases/mysql55-client ===
Returning to build of maia-1.0.3.r1575_3 Error: shared
library mysqlclient.18 does not exist *** [lib-depends]
Error code 1

Stop in /basejail/usr/ports/security/maia.
/usr/ports/security/maia#



Ok, it looks like something is messed up with your ldconfig search
path.  To confirm that, please run this command and post results
back here:

ldconfig -r| grep mysql

Thank you, Greg

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions To
unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org

# ldconfig -r| grep mysql search directories:
/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth




218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18

219:-lmysqlclient.18 =
/usr/local/lib/mysql/libmysqlclient.so.18 220:-lmysqlclient_r.18
= /usr/local/lib/mysql/libmysqlclient_r.so.18

I installed both mysql client and server from ports. The versions
are: mysql-client-5.5.30 mysql-server-5.5.30

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions To
unsubscribe, send any mail to

Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 6:21 PM, Jeff Tipton wrote:
 On 03/12/2013 00:07, Greg Larkin wrote: On 3/11/13 5:42 PM, Jeff
 Tipton wrote:
 On 03/11/2013 21:34, Jeff Tipton wrote:
 On 03/11/2013 21:00, Greg Larkin wrote:
 On 3/11/13 2:47 PM, Jeff Tipton wrote:
 On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13
 2:10 PM, Jeff Tipton wrote:
 On 03/11/2013 20:00, Greg Larkin wrote: On
 3/11/13 12:59 PM, Jeff Tipton wrote:
 Hi,
 
 I'm trying to set up security/maia, and
 this is the error message I get:
 
 Error: shared library mysqlclient.18
 does not exist
 
 Of course, the library does exist :(
 
 # ls /usr/local/lib/mysql/
 libmysqlclient.a libmysqlclient_r.a
 libmysqld.a libmysqlclient.so
 libmysqlclient_r.so libmysqlservices.a
 libmysqlclient.so.18 
 libmysqlclient_r.so.18 plugin
 
 I googled about this, and I found 3
 things to try but none of that was
 helpful here:
 
 1. make a link: ln -s 
 /usr/local/lib/mysql/libmysqlclient.so.18

 
/usr/local/lib/libmysqlclient.so.18
 
 2. Check the root's umask and the
 directory permissions if they are
 correct, and they are: # umask 22 #ll
 /usr/local/lib |grep mysql lrwxr-xr-x   1
 root wheel 41 Mar 11 16:25 
 libmysqlclient.so.18@ - 
 /usr/local/lib/mysql/libmysqlclient.so.18

 
drwxr-xr-x 3 root wheel   512 Mar 11 16:22
 mysql/
 
 # ll /usr/local/lib/mysql/ total 27276 
 -rw-r--r-- 1 root wheel 4844270 Mar 11
 16:17 libmysqlclient.a lrwxr-xr-x  1 root
 wheel 20 Mar 11 16:22 libmysqlclient.so@
 - libmysqlclient.so.18 -rwxr-xr-x 1 root
 wheel 3364688 Mar 11 16:22
 libmysqlclient.so.18* lrwxr-xr-x  1 root
 wheel 16 Mar 11 16:22 libmysqlclient_r.a@
 - libmysqlclient.a lrwxr-xr-x  1 root
 wheel17 Mar 11 16:22
 libmysqlclient_r.so@ -
 libmysqlclient.so lrwxr-xr-x  1 root
 wheel17 Mar 11 16:22
 libmysqlclient_r.so.18@ - 
 libmysqlclient.so -rw-r--r-- 1 root
 wheel 20019340 Mar  7 15:08 libmysqld.a
 -rw-r--r--  1 root  wheel 4598 Mar 11
 16:17 libmysqlservices.a drwxr-xr-x  2
 root  wheel 512 Mar  8 19:01 plugin/
 
 3. Update the ports tree. Ports tree is
 up to date.
 
 Could someone, please, suggest what I
 could try to solve this?
 
 Thanks, Jeff
 Hi Jeff,
 
 At what point do you receive the error message?
 Is it when you attempt to run the executable
 built by the port?  If so, please run the ldd
 command against the executable and post the
 output back here.
 
 Thank you, Greg
 
 
 -- Greg Larkin
 
 http://www.FreeBSD.org/   - The Power
 To Serve http://www.sourcehosting.net/ -
 Ready. Set. Code. http://twitter.com/cpucycle/
 - Follow you, follow me Thank you, Greg, for
 the reply. I get the error message while
 compiling security/maia port. mysql client
 itself is working ok, I can connect to my
 database server.
 
 ldd output: # ldd /usr/local/bin/mysql 
 /usr/local/bin/mysql: libreadline.so.8 = 
 /lib/libreadline.so.8 (0x800ab5000) libz.so.6
 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6
 = /usr/lib/libstdc++.so.6 (0x800f09000)
 libm.so.5 = /lib/libm.so.5 (0x801219000)
 libgcc_s.so.1 = /lib/libgcc_s.so.1
 (0x80143a000) libthr.so.3 = /lib/libthr.so.3
 (0x801647000) libc.so.7 = /lib/libc.so.7
 (0x801869000) libncurses.so.8 = 
 /lib/libncurses.so.8 (0x801bbc000)
 
 Hi Jeff,
 
 Can you post the relevant bits of build output where
 the error message shows up?  If it happens during the
 configure phase of the port build, you'll also want
 to post the end of the config.log file found in the
 port work directory.
 
 Thank you, Greg
 
 
 I tried to run make several times, and previously
 some build depends were compiled. But now the work
 directory doesn't even get created, and the process
 stops immediately:
 
 /usr/ports/security/maia# make install clean === 
 maia-1.0.3.r1575_3 depends on shared library: 
 mysqlclient.18 - not found ===Verifying install
 for mysqlclient.18 in
 /usr/ports/databases/mysql55-client === Returning to
 build of maia-1.0.3.r1575_3 Error: shared library
 mysqlclient.18 does not exist *** [lib-depends] 
 Error code 1
 
 Stop in /basejail/usr/ports/security/maia. 
 /usr/ports/security/maia#
 
 
 Ok, it looks like something is messed up with your ldconfig
 search path.  To confirm that, please run this command and
 post results back here:
 
 ldconfig -r| grep mysql
 
 Thank you, Greg
 ___ 
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 # ldconfig -r| grep mysql search directories: 
 /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth





 
218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18
 219:-lmysqlclient.18 = 
 /usr/local/lib/mysql/libmysqlclient.so.18
 220:-lmysqlclient_r.18 =
 /usr/local/lib/mysql/libmysqlclient_r.so.18
 
 I installed both mysql client and server from ports. The
 versions are: mysql-client-5.5.30 

Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Jeff Tipton

On 03/12/2013 00:36, Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 6:21 PM, Jeff Tipton wrote:

On 03/12/2013 00:07, Greg Larkin wrote: On 3/11/13 5:42 PM, Jeff
Tipton wrote:

On 03/11/2013 21:34, Jeff Tipton wrote:

On 03/11/2013 21:00, Greg Larkin wrote:

On 3/11/13 2:47 PM, Jeff Tipton wrote:

On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13
2:10 PM, Jeff Tipton wrote:

On 03/11/2013 20:00, Greg Larkin wrote: On
3/11/13 12:59 PM, Jeff Tipton wrote:

Hi,

I'm trying to set up security/maia, and
this is the error message I get:

Error: shared library mysqlclient.18
does not exist

Of course, the library does exist :(

# ls /usr/local/lib/mysql/
libmysqlclient.a libmysqlclient_r.a
libmysqld.a libmysqlclient.so
libmysqlclient_r.so libmysqlservices.a
libmysqlclient.so.18
libmysqlclient_r.so.18 plugin

I googled about this, and I found 3
things to try but none of that was
helpful here:

1. make a link: ln -s
/usr/local/lib/mysql/libmysqlclient.so.18



/usr/local/lib/libmysqlclient.so.18

2. Check the root's umask and the
directory permissions if they are
correct, and they are: # umask 22 #ll
/usr/local/lib |grep mysql lrwxr-xr-x   1
root wheel 41 Mar 11 16:25
libmysqlclient.so.18@ -
/usr/local/lib/mysql/libmysqlclient.so.18



drwxr-xr-x 3 root wheel   512 Mar 11 16:22

mysql/

# ll /usr/local/lib/mysql/ total 27276
-rw-r--r-- 1 root wheel 4844270 Mar 11
16:17 libmysqlclient.a lrwxr-xr-x  1 root
wheel 20 Mar 11 16:22 libmysqlclient.so@
- libmysqlclient.so.18 -rwxr-xr-x 1 root
wheel 3364688 Mar 11 16:22
libmysqlclient.so.18* lrwxr-xr-x  1 root
wheel 16 Mar 11 16:22 libmysqlclient_r.a@
- libmysqlclient.a lrwxr-xr-x  1 root
wheel17 Mar 11 16:22
libmysqlclient_r.so@ -
libmysqlclient.so lrwxr-xr-x  1 root
wheel17 Mar 11 16:22
libmysqlclient_r.so.18@ -
libmysqlclient.so -rw-r--r-- 1 root
wheel 20019340 Mar  7 15:08 libmysqld.a
-rw-r--r--  1 root  wheel 4598 Mar 11
16:17 libmysqlservices.a drwxr-xr-x  2
root  wheel 512 Mar  8 19:01 plugin/

3. Update the ports tree. Ports tree is
up to date.

Could someone, please, suggest what I
could try to solve this?

Thanks, Jeff

Hi Jeff,

At what point do you receive the error message?
Is it when you attempt to run the executable
built by the port?  If so, please run the ldd
command against the executable and post the
output back here.

Thank you, Greg


-- Greg Larkin

http://www.FreeBSD.org/   - The Power
To Serve http://www.sourcehosting.net/ -
Ready. Set. Code. http://twitter.com/cpucycle/
- Follow you, follow me Thank you, Greg, for
the reply. I get the error message while
compiling security/maia port. mysql client
itself is working ok, I can connect to my
database server.

ldd output: # ldd /usr/local/bin/mysql
/usr/local/bin/mysql: libreadline.so.8 =
/lib/libreadline.so.8 (0x800ab5000) libz.so.6
= /lib/libz.so.6 (0x800cf5000) libstdc++.so.6
= /usr/lib/libstdc++.so.6 (0x800f09000)
libm.so.5 = /lib/libm.so.5 (0x801219000)
libgcc_s.so.1 = /lib/libgcc_s.so.1
(0x80143a000) libthr.so.3 = /lib/libthr.so.3
(0x801647000) libc.so.7 = /lib/libc.so.7
(0x801869000) libncurses.so.8 =
/lib/libncurses.so.8 (0x801bbc000)


Hi Jeff,

Can you post the relevant bits of build output where
the error message shows up?  If it happens during the
configure phase of the port build, you'll also want
to post the end of the config.log file found in the
port work directory.

Thank you, Greg


I tried to run make several times, and previously
some build depends were compiled. But now the work
directory doesn't even get created, and the process
stops immediately:

/usr/ports/security/maia# make install clean ===
maia-1.0.3.r1575_3 depends on shared library:
mysqlclient.18 - not found ===Verifying install
for mysqlclient.18 in
/usr/ports/databases/mysql55-client === Returning to
build of maia-1.0.3.r1575_3 Error: shared library
mysqlclient.18 does not exist *** [lib-depends]
Error code 1

Stop in /basejail/usr/ports/security/maia.
/usr/ports/security/maia#



Ok, it looks like something is messed up with your ldconfig
search path.  To confirm that, please run this command and
post results back here:

ldconfig -r| grep mysql

Thank you, Greg

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org

# ldconfig -r| grep mysql search directories:
/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth





218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18

219:-lmysqlclient.18 =
/usr/local/lib/mysql/libmysqlclient.so.18
220:-lmysqlclient_r.18 =
/usr/local/lib/mysql/libmysqlclient_r.so.18

I installed both mysql client and server from ports. The
versions are: mysql-client-5.5.30 mysql-server-5.5.30

___
freebsd-questions@freebsd.org mailing list

Re: day light saving time happened today

2013-03-11 Thread Chad Perrin
On Mon, Mar 11, 2013 at 08:49:45AM -0400, Fbsd8 wrote:
 
 
 Ran this little test.
 Last night before turning off my system I used the date command to set 
 the date to 3/9 with the correct DST. This morning when I turned on my 
 system the time had advanced by one hour. So this proves that the time 
 zone setting does have DST in it and every thing worked as expected.
 
 Even though the system is now on DST the date command still displays 
 EDT. Does the date command ever show DST?

As noted by others, EDT is Eastern Daylight Time, which is what
should be showing during DST in the Eastern (US) time zone.  When it's
not DST, what should be showing in the Eastern time zone is EST
instead.  From what you said, though, it seems you had set it to EDT
when it was not yet daylight saving time.  I wonder if this might be the
cause of the actual problem.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: What is your favorite board for a micro system?

2013-03-11 Thread Jason Fortezzo
On Sat, Mar 09, 2013 at 12:53:27AM +0100, Erik N?rgaard wrote:
 What is your favorite mini/micro/nano/pico-itx platform for home projects?
 
 I currently run a home server on an Intel mini-itx board but was
 looking around for something fun to play with with the following
 specs:
 
 - mini-itx or smaller, low profile
 - fanless
 - low power 12V external PSU
 - 1 LAN, preferably 2
 - 2 USB2/3
 - Flash bootable, but with option for hdd boot
 - GPIO would be fun
 - hdmi out would be nice

I'm using the Intel DQ77KB Thin Mini ITX board and it almost meets all of your
criteria.  The heatsink has a fan but it is silent (even after 12 hours
of Prime95).  This board has AMT so when used with a vPro capable CPU
(I'm using an i7-3770S), you get all sorts of nifty OOB features.

I'm using ESXi 5.1 right now but I'm pretty sure it would boot FreeBSD
fine.

-- 
Jason Fortezzo
forte...@mechanicalism.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Pan-0.139 won't compile

2013-03-11 Thread Walter Hurry
Trying to upgrade /usr/ports/news/pan I get this:
___
mime-utils.cc: In function 'char* pan::__g_mime_iconv_strndup(void*, 
const char*, size_t, const char*)':
mime-utils.cc:80: error: invalid conversion from 'char**' to 'const 
char**'
mime-utils.cc:80: error:   initializing argument 2 of 'size_t libiconv
(void*, const char**, size_t*, char**, size_t*)'
gmake[3]: *** [mime-utils.o] Error 1
gmake[3]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan/
usenet-utils'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/news/pan/work/pan-0.139'
gmake: *** [all] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/news/pan.
*** [build] Error code 1
___

What should I do next?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9 and Windows XP

2013-03-11 Thread Carl Johnson
Warren Block wbl...@wonkity.com writes:

 On Mon, 11 Mar 2013, Carl Johnson wrote:

 It is my understanding that FreeBSD doesn't allow using part of a disk,
 but grabs the entire disk.  That means that VirtualBox can't use
 partitions on a disk that any other partitions are being used by
 anything else, including FreeBSD itself.  Am I wrong about this?  I use
 VirtualBox using vdmk for an entire disk, but I have never been able to
 share with anything else.

 It's very hard to tell what situation is being described here.  If the
 VMDK is a pointer to a whole physical disk, that would probably make
 the disk only usable by one VM.  It should be possible to make the
 VMDK point to just one partition on the disk.  Then other VMs or a
 physical machine could use those other partitions while the FreeBSD VM
 was running.

I was thinking of the case where I tried to allow direct access by a
virtual machine to a slice on the same disk that I was running FreeBSD
off of.  I just looked further into that and discovered that it is
possible, but not allowed by geom by default.  It can be done by setting
'sysctl kern.geom.debugflags=0x10'.  I am sure that you are aware of the
dangers, but for anybody else reading this check out the warning in the
geom(4) manpage.  They refer to this option as 'allow foot shooting' for
a reason.

-- 
Carl Johnsonca...@peak.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: day light saving time happened today

2013-03-11 Thread Fbsd8

Jerry wrote:

On Mon, 11 Mar 2013 09:18:23 -0500
Noel articulated:


On 3/11/2013 7:49 AM, Fbsd8 wrote:

Even though the system is now on DST the date command still
displays EDT. Does the date command ever show DST?

EDT = Eastern Daylight Time timezone
not to be confused with
EST = Eastern Standard Time timezone
not to be confused with
DST = daylight savings time, not a timezone, never shown on a
computer.

Your system correctly switched to daylight savings time, as verified
by the EDT timezone indicator.  Most likely the clock was already an
hour slow before the time change.


Just wondering, but do you have NTP running to keep the time accurate?


no
but I do run ntpd -q a few times a year to keep the tine accurate.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 9 and Windows XP

2013-03-11 Thread Warren Block

On Mon, 11 Mar 2013, Carl Johnson wrote:


Warren Block wbl...@wonkity.com writes:


On Mon, 11 Mar 2013, Carl Johnson wrote:


It is my understanding that FreeBSD doesn't allow using part of a disk,
but grabs the entire disk.  That means that VirtualBox can't use
partitions on a disk that any other partitions are being used by
anything else, including FreeBSD itself.  Am I wrong about this?  I use
VirtualBox using vdmk for an entire disk, but I have never been able to
share with anything else.


It's very hard to tell what situation is being described here.  If the
VMDK is a pointer to a whole physical disk, that would probably make
the disk only usable by one VM.  It should be possible to make the
VMDK point to just one partition on the disk.  Then other VMs or a
physical machine could use those other partitions while the FreeBSD VM
was running.


I was thinking of the case where I tried to allow direct access by a
virtual machine to a slice on the same disk that I was running FreeBSD
off of.  I just looked further into that and discovered that it is
possible, but not allowed by geom by default.  It can be done by setting
'sysctl kern.geom.debugflags=0x10'.  I am sure that you are aware of the
dangers, but for anybody else reading this check out the warning in the
geom(4) manpage.  They refer to this option as 'allow foot shooting' for
a reason.


That's kind of what I was saying.  If you can get the VMDK to refer to 
just the one slice/partition that the VM needs, it won't lock the whole 
disk.  For example, ada0s2a rather than ada0s2.  Of course, it would be 
bad to share the same partition between more than one VM or physical 
machine at the same time unless it is mounted read-only by all of them.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems Printing

2013-03-11 Thread Matthias Apitz
El día Sunday, March 10, 2013 a las 02:26:43PM -0500, Joseph A. Nagy, Jr 
escribió:

 On 03/05/13 23:47, Matthias Apitz wrote:
  El día Tuesday, March 05, 2013 a las 03:42:15PM -0600, Joseph A. Nagy, Jr 
  escribió:
 
  then the test is
 
  $ date | lpr -PPIXMA
 
matthias
 
 
  I figured that out, sent the test, it queud the job and stuck there.
  When I get home I'm going to clear the cups logs and start over again.
 
  Does the CUPS' test page works from the web interface? If not, try to
  configure the printer as Generic Postscript first.
 
  matthias
 
 w/o using the web interface (I don't particularly care for it, honestly, 
 I find it confusing) I deleted the old logs, restarted the cupsd 
 service, and sent
 
 # date | lpr -PPIXMA

Please show the config of the printer, either as screen shoot of CUPS
web or from printers.conf file;

matthias
-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org